diff --git a/cmd/itctl/cmd/root.go b/cmd/itctl/cmd/root.go index 610f661..14c45bb 100644 --- a/cmd/itctl/cmd/root.go +++ b/cmd/itctl/cmd/root.go @@ -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()) }