C++ command line parsing library
metavar()
by specifying a list of strings
instead of a simple string.add
as an alias for add_parameter
.absent
is now an alias for default_value
.add_command
. This
makes it easier to access global options from within command options. See the test
shouldAccessParentOptionsFromCommand in command_t.cpp
and the new example in the README file.parserconfig_t.cpp
.params()
method of the argument_parser
class. The old argument_parser
methods for defining
parameters are deprecated and will be removed.Most features are implemented. The command interface is not stable, yet.