Merge pull request #113636 from marckhouzam/feat/compBashDesc

Enable shell completion descriptions for bash
This commit is contained in:
Kubernetes Prow Robot
2022-11-07 16:01:30 -08:00
committed by GitHub

View File

@@ -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 {