Enable completion descriptions for powershell

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
This commit is contained in:
Marc Khouzam 2021-08-04 07:45:30 -04:00
parent fbdebe8e4e
commit 549caf29b5

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: