Fix option name

This commit is contained in:
Bryan Boreham committed 2016-12-13 14:59:45 +00:00
1 parent 7d8a18bd20
commit 9261d17dbe
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ func main() {
Run: root}
rootCmd.PersistentFlags().StringVar(&metricsAddr, "metrics-addr", ":6781", "metrics server bind address")
rootCmd.PersistentFlags().StringVar(&logLevel, "-log-level", "debug", "logging level (debug, info, warning, error)")
rootCmd.PersistentFlags().StringVar(&logLevel, "log-level", "debug", "logging level (debug, info, warning, error)")
handleError(rootCmd.Execute())
}