Skip to content

Commit

Permalink
rpk: Disable printing the usage message on error
Browse files Browse the repository at this point in the history
Message-Id: <20200423152410.31456-1-david@vectorized.io>
  • Loading branch information
David Castillo committed Apr 23, 2020
1 parent c307cda commit bf914d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Execute() {
Short: "rpk is the Redpanda CLI & toolbox",
Long: "",
}

rootCmd.SilenceUsage = true
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose",
"v", false, "enable verbose logging (default false)")
rootCmd.AddCommand(NewTuneCommand(fs))
Expand Down

0 comments on commit bf914d5

Please sign in to comment.