Actions
Bug #6599
open[SDKs] Whenever `arv` has an invalid resource name argument, it should complain about that
Story points:
0.5
Release:
Release relationship:
Auto
Description
Consider this terminal session:
(arv)locke % arv foo list --filters='[["uuid", "=", "zzzzz-yyyyy-abcde12345abcde"]]' Error: unknown argument '--filters'. Try --help for help.
The error leads the user to wonder what's wrong with --filters
. Maybe it should be --filter
instead? But no, the real problem is that foo
is not a valid subcommand or resource name, so there's nothing to be done with it.
In this case, arv
should report that foo
is not a recognized subcommand or resource, then list the available subcommands and resources for the user's reference.
Actions