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
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!