Skip to content

Commit

Permalink
fix: fix cmd config (#2181)
Browse files Browse the repository at this point in the history
Signed-off-by: yisaer <[email protected]>
  • Loading branch information
Yisaer authored Aug 14, 2023
1 parent 44a7afb commit 9abc919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kuiper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var (
)

func init() {
flag.StringVar(&loadFileType, "loadFileTye", "", "loadFileType indicates the how to load path")
flag.StringVar(&loadFileType, "loadFileType", "", "loadFileType indicates the how to load path")
flag.StringVar(&etcPath, "etc", "", "etc indicates the path of etc dir")

flag.Parse()
Expand Down
2 changes: 1 addition & 1 deletion cmd/kuiperd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
)

func init() {
flag.StringVar(&loadFileType, "loadFileTye", "", "loadFileType indicates the how to load path")
flag.StringVar(&loadFileType, "loadFileType", "", "loadFileType indicates the how to load path")
flag.StringVar(&etcPath, "etc", "", "etc indicates the path of etc dir")
flag.StringVar(&dataPath, "data", "", "data indicates the path of data dir")
flag.StringVar(&logPath, "log", "", "log indicates the path of log dir")
Expand Down

0 comments on commit 9abc919

Please sign in to comment.