@ -96,7 +96,6 @@ func newCompletionCmd(out io.Writer) *cobra.Command {
Short : "generate autocompletion script for zsh" ,
Short : "generate autocompletion script for zsh" ,
Long : zshCompDesc ,
Long : zshCompDesc ,
Args : require . NoArgs ,
Args : require . NoArgs ,
DisableFlagsInUseLine : true ,
ValidArgsFunction : noCompletions ,
ValidArgsFunction : noCompletions ,
RunE : func ( cmd * cobra . Command , args [ ] string ) error {
RunE : func ( cmd * cobra . Command , args [ ] string ) error {
return runCompletionZsh ( out , cmd )
return runCompletionZsh ( out , cmd )
@ -109,7 +108,6 @@ func newCompletionCmd(out io.Writer) *cobra.Command {
Short : "generate autocompletion script for fish" ,
Short : "generate autocompletion script for fish" ,
Long : fishCompDesc ,
Long : fishCompDesc ,
Args : require . NoArgs ,
Args : require . NoArgs ,
DisableFlagsInUseLine : true ,
ValidArgsFunction : noCompletions ,
ValidArgsFunction : noCompletions ,
RunE : func ( cmd * cobra . Command , args [ ] string ) error {
RunE : func ( cmd * cobra . Command , args [ ] string ) error {
return runCompletionFish ( out , cmd )
return runCompletionFish ( out , cmd )