Disable completion command

This commit is contained in:
Elara 2021-08-21 19:03:18 -07:00
parent 688f5e5004
commit 76c54339cf

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