From 1408b36db75b53016b390ac5a6e1b1f6b15394c7 Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Fri, 29 Apr 2022 17:06:58 +0200 Subject: [PATCH] cli: minor cleanup in root cmd init --- cli/cmd/root.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cli/cmd/root.go b/cli/cmd/root.go index 8ad7ade52..2be2c992d 100644 --- a/cli/cmd/root.go +++ b/cli/cmd/root.go @@ -52,10 +52,8 @@ func signalContext(ctx context.Context, sig os.Signal) (context.Context, context func init() { cobra.EnableCommandSorting = false - // Set output of cmd.Print to stdout. + // Set output of cmd.Print to stdout. (By default, it's stderr.) rootCmd.SetOut(os.Stdout) - // Disable --no-description flag for completion command. - rootCmd.CompletionOptions.DisableNoDescFlag = true rootCmd.PersistentFlags().String("dev-config", "", "Set this flag to create the Constellation using settings from a development config.") rootCmd.AddCommand(newCreateCmd()) rootCmd.AddCommand(newInitCmd())