diff --git a/pkg/kn/commands/completion.go b/pkg/kn/commands/completion.go index 0c8a13843..5ea127891 100644 --- a/pkg/kn/commands/completion.go +++ b/pkg/kn/commands/completion.go @@ -30,6 +30,7 @@ func NewCompletionCommand(p *KnParams) *cobra.Command { completionCmd := &cobra.Command{ Use: "completion", Short: "Output shell completion code (default Bash)", + Hidden: true, // Don't show this in help listing. Run: func(cmd *cobra.Command, args []string) { if completionFlags.Zsh { cmd.Root().GenZshCompletion(os.Stdout)