Actions
Bug #6599
open[SDKs] Whenever `arv` has an invalid resource name argument, it should complain about that
Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Start date:
07/13/2015
Due date:
% Done:
0%
Estimated time:
Story points:
0.5
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.
Updated by Ward Vandewege over 3 years ago
- Target version deleted (
Arvados Future Sprints)
Actions