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