From 875ade150eaffa808f74a4e8ec85b5e1b3c1b128 Mon Sep 17 00:00:00 2001 From: Jesse Schmidt Date: Thu, 29 Feb 2024 15:24:37 -0800 Subject: [PATCH] add comment --- cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/root.go b/cmd/root.go index 490c61c..115c8da 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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))