mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-18 13:41:49 +03:00
Disable shell completion descriptions
This commit is contained in:
parent
039cfdc285
commit
5917d2750c
@ -87,6 +87,7 @@ See docs and more: https://sq.io`,
|
|||||||
|
|
||||||
cmd.Flags().SortFlags = false
|
cmd.Flags().SortFlags = false
|
||||||
cmd.PersistentFlags().SortFlags = false
|
cmd.PersistentFlags().SortFlags = false
|
||||||
|
cmd.CompletionOptions.DisableDescriptions = true
|
||||||
|
|
||||||
// The --help flag must be explicitly added to rootCmd,
|
// The --help flag must be explicitly added to rootCmd,
|
||||||
// or else cobra tries to do its own (unwanted) thing.
|
// or else cobra tries to do its own (unwanted) thing.
|
||||||
|
Loading…
Reference in New Issue
Block a user