fix: return "unknown command" instead of "no help topic" error when unknown (sub)command is passed (#316)
Co-authored-by: Sam Lai <samuel.lai@gmail.com>
This commit is contained in:
@ -28,6 +28,7 @@ func newV1AuthCommand() cli.Command {
|
||||
Name: "auth",
|
||||
Usage: "Authorization management commands for v1 APIs",
|
||||
Aliases: []string{"authorization"},
|
||||
Before: middleware.NoArgs,
|
||||
Subcommands: []cli.Command{
|
||||
newCreateV1AuthCmd(),
|
||||
newRemoveV1AuthCmd(),
|
||||
|
Reference in New Issue
Block a user