Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFireMike committed Apr 8, 2020
1 parent 9573182 commit aed06e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve-alert-restapi/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func init() {
rootCmd.Flags().Bool("syslog", false, "Use this flag to log to syslog")
viper.BindPFlag("log-level", rootCmd.Flags().Lookup("log-level"))
viper.BindPFlag("read-db", rootCmd.Flags().Lookup("read-db"))
viper.BindPFlag("syslog", rootCmd.Flags().Lookup("syslog"))
viper.BindPFlag("logging.syslog", rootCmd.Flags().Lookup("syslog"))
// Cobra also supports local flags, which will only run
// when this action is called directly.
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
Expand Down

0 comments on commit aed06e6

Please sign in to comment.