From d5a297cb86595267ffd5681f1d37a87314ea0390 Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Mon, 13 Sep 2021 11:42:17 +0200 Subject: [PATCH] Disable completions --- server/cmd/craban/commands/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/cmd/craban/commands/root.go b/server/cmd/craban/commands/root.go index 1221415..881f76e 100644 --- a/server/cmd/craban/commands/root.go +++ b/server/cmd/craban/commands/root.go @@ -10,6 +10,8 @@ func RootCmd() *cobra.Command { Short: "Webapp to play RPG games and manage their assets", } + cmd.CompletionOptions.DisableDefaultCmd = true + cmd.PersistentFlags().StringP("config", "c", "craban.yml", "path to the configuration file") cmd.AddCommand(