diff --git a/cmd/root.go b/cmd/root.go index 9630e6a..cd33d7f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -20,6 +20,7 @@ This is useful for: PersistentPreRun: func(cmd *cobra.Command, args []string) { cfg.SetLoggerLevel() }, + SilenceUsage: true, } // Execute adds all child commands to the root command and sets flags appropriately.