diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/go/cmd/root.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/go/cmd/root.go b/client/go/cmd/root.go index 087be7c352d..63491f840e9 100644 --- a/client/go/cmd/root.go +++ b/client/go/cmd/root.go @@ -31,6 +31,10 @@ Vespa documentation: https://docs.vespa.ai`, PersistentPreRun: func(cmd *cobra.Command, args []string) { configureOutput() }, + Args: cobra.MinimumNArgs(1), + Run: func(cmd *cobra.Command, args []string) { + // Root command does nothing useful by itself + }, } targetArg string |