Hide the default completion command
This commit is contained in:
parent
3a87cfce3e
commit
82410c58ed
@ -397,4 +397,5 @@ func Init(root *cobra.Command) {
|
||||
root.SetUsageFunc(show_usage)
|
||||
root.SetHelpFunc(show_help)
|
||||
root.SetHelpCommand(&cobra.Command{Hidden: true})
|
||||
root.CompletionOptions.DisableDefaultCmd = true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user