Skip to content

Commit

Permalink
rpk: disable default autocompletion command
Browse files Browse the repository at this point in the history
We add our own.
  • Loading branch information
twmb committed Jun 7, 2022
1 parent 73e0aaa commit 0defc31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/go/rpk/pkg/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func Execute() {
Use: "rpk",
Short: "rpk is the Redpanda CLI & toolbox.",
Long: "",

CompletionOptions: cobra.CompletionOptions{
DisableDefaultCmd: true,
},
}
root.PersistentFlags().BoolVarP(&verbose, config.FlagVerbose,
"v", false, "Enable verbose logging (default: false).")
Expand Down

0 comments on commit 0defc31

Please sign in to comment.