Merge pull request #4085 from marckhouzam/feat/compPowershell

Fixes #4084: Enable completion descriptions for powershell
This commit is contained in:
Mislav Marohnić 2021-08-04 15:10:15 +02:00 committed by GitHub
commit fddca21815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ func NewCmdCompletion(io *iostreams.IOStreams) *cobra.Command {
case "zsh":
return rootCmd.GenZshCompletion(w)
case "powershell":
return rootCmd.GenPowerShellCompletion(w)
return rootCmd.GenPowerShellCompletionWithDesc(w)
case "fish":
return rootCmd.GenFishCompletion(w, true)
default: