You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The usage printed is for the main command, but the error concerns the subcommand. It's not immediately clear that the argument missing actually belongs to the subcommand, unless you do ./tool sub -h:
Usage: sub [OPTIONS] ARGUMENT
<help omitted>
Options:
-h, --help Show this message and exit
I think this should be changed to it's clear where the argument is coming from.
The text was updated successfully, but these errors were encountered:
If I make a subcommand (e.g.
sub
) with a required argument, and then do./tool sub
, it prints the following:The usage printed is for the main command, but the error concerns the subcommand. It's not immediately clear that the argument missing actually belongs to the subcommand, unless you do
./tool sub -h
:I think this should be changed to it's clear where the argument is coming from.
The text was updated successfully, but these errors were encountered: