Project

General

Profile

Actions

Bug #6599

open

[SDKs] Whenever `arv` has an invalid resource name argument, it should complain about that

Added by Brett Smith almost 9 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
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 #1

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #2

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #3

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF