Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Feb 29, 2024
1 parent 1af81dc commit 875ade1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func newRootCmd() *cobra.Command {
},
}

// TODO: log levels should be generic and not tied to logrus or golang.
logLevelUsage := fmt.Sprintf("Set the logging detail level. Valid levels are: %v", log.GetLogLevels())
rootCmd.PersistentFlags().StringP("log-level", "l", "info", logLevelUsage)
rootCmd.PersistentFlags().AddFlagSet(cfFileFlags.NewFlagSet(flags.DefaultWrapHelpString))
Expand Down

0 comments on commit 875ade1

Please sign in to comment.