Просмотр исходного кода

fix: fix cmd config (#2181)

Signed-off-by: yisaer <disxiaofei@163.com>
Song Gao 1 год назад
Родитель
Сommit
9abc919ffa
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      cmd/kuiper/main.go
  2. 1 1
      cmd/kuiperd/main.go

+ 1 - 1
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()

+ 1 - 1
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")