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
m_parser.add_argument("args")
.nargs(argparse::nargs_pattern::at_least_one)
.remaining()
.required()
.help("Install an application into the default directory");
It generates the help message:
Usage: args [--help] [--version] args
Positional arguments:
args Install an application into the default directory [nargs: 0 or more] [required]
Optional arguments:
-h, --help shows help message and exits
-v, --version prints version information and exits
Shouldn't it say nargs: 1 or more instead of 0?
Thanks!
The text was updated successfully, but these errors were encountered:
Greetings,
I've noticed that when using something like:
It generates the help message:
Shouldn't it say
nargs: 1 or more
instead of 0?Thanks!
The text was updated successfully, but these errors were encountered: