Browse Source

Fix typo in `explain` help (#1290)

Shivam Sandbhor 3 years ago
parent
commit
1928d385b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/crowdsec-cli/explain.go

+ 1 - 1
cmd/crowdsec-cli/explain.go

@@ -101,7 +101,7 @@ cscli explain --dsn "file://myfile.log" --type nginx
 	}
 	cmdExplain.PersistentFlags().StringVarP(&logFile, "file", "f", "", "Log file to test")
 	cmdExplain.PersistentFlags().StringVarP(&dsn, "dsn", "d", "", "DSN to test")
-	cmdExplain.PersistentFlags().StringVarP(&logLine, "log", "l", "", "Lgg line to test")
+	cmdExplain.PersistentFlags().StringVarP(&logLine, "log", "l", "", "Log line to test")
 	cmdExplain.PersistentFlags().StringVarP(&logType, "type", "t", "", "Type of the acquisition to test")
 	cmdExplain.PersistentFlags().BoolVarP(&opts.Details, "verbose", "v", false, "Display individual changes")
 	cmdExplain.PersistentFlags().BoolVar(&opts.SkipOk, "failures", false, "Only show failed lines")