diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-02-02 13:42:40 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2022-02-02 13:42:40 +0100 |
commit | ab45207b79fd044aeb53b16a6974b4842efcd7f9 (patch) | |
tree | 474c35c700d6eb254f19942c97c0cfcf71560466 /client | |
parent | 2d18fa63c17734b34f42f0f223f442ee65e488f2 (diff) |
Fail if invalid command is passed
Diffstat (limited to 'client')
-rw-r--r-- | client/go/cmd/root.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/cmd/root.go b/client/go/cmd/root.go index 63491f840e9..023ba18a038 100644 --- a/client/go/cmd/root.go +++ b/client/go/cmd/root.go @@ -33,7 +33,7 @@ Vespa documentation: https://docs.vespa.ai`, }, Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { - // Root command does nothing useful by itself + fatalErr(nil, "invalid command: ", args[0]) }, } |