Fail if invalid command is passed
@@ -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])
},
}
