diff --git a/cmd/kuiper/main.go b/cmd/kuiper/main.go index 35dd057a4a..5061c2d9c0 100644 --- a/cmd/kuiper/main.go +++ b/cmd/kuiper/main.go @@ -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() diff --git a/cmd/kuiperd/main.go b/cmd/kuiperd/main.go index 9bb64f272f..7ac3b361c9 100644 --- a/cmd/kuiperd/main.go +++ b/cmd/kuiperd/main.go @@ -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")