Skip to content

Commit

Permalink
Merge pull request #113636 from marckhouzam/feat/compBashDesc
Browse files Browse the repository at this point in the history
Enable shell completion descriptions for bash
  • Loading branch information
k8s-ci-robot committed Nov 8, 2022
2 parents 1a3db7d + d72926d commit 56a0823
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -167,7 +167,7 @@ func runCompletionBash(out io.Writer, boilerPlate string, kubectl *cobra.Command
return err
}

return kubectl.GenBashCompletionV2(out, false) // TODO: Upgrade to Cobra 1.3.0 or later before including descriptions (See https://github.com/spf13/cobra/pull/1509)
return kubectl.GenBashCompletionV2(out, true)
}

func runCompletionZsh(out io.Writer, boilerPlate string, kubectl *cobra.Command) error {
Expand Down

0 comments on commit 56a0823

Please sign in to comment.