forked from Elara6331/itd
Disable completion command
This commit is contained in:
parent
560d19860e
commit
5e34f656b3
@ -60,5 +60,6 @@ var rootCmd = &cobra.Command{
|
||||
// Execute adds all child commands to the root command and sets flags appropriately.
|
||||
// This is called by main.main(). It only needs to happen once to the rootCmd.
|
||||
func Execute() {
|
||||
rootCmd.CompletionOptions.DisableDefaultCmd = true
|
||||
cobra.CheckErr(rootCmd.Execute())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user