Disable completion command

This commit is contained in:
Elara 2021-08-21 19:03:18 -07:00
parent 560d19860e
commit 5e34f656b3
1 changed files with 1 additions and 0 deletions

View File

@ -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())
}