Releases: mmahnic/argumentum
Releases · mmahnic/argumentum
Argumentum
Added
- It is possible to collect parameters that will be forwarded to a subprocess. The syntax is
similar to the one used in GCC. - Multiple names can be defined for meta-varaiables in
metavar()
by specifying a list of strings
instead of a simple string. - Added the method
add
as an alias foradd_parameter
. - The method
absent
is now an alias fordefault_value
. - Added shell tests for various library usage scenarios.
Changed
- Some targets are available only when the Argumentum project is top-level.
Fixed
- The header-only version can be installed.
- The library can be used from a Git submodule using modern CMake.
Argumentum
- Disable deprecated attribute to fix the build on uwp for vcpkg
Argumentum
Added
- It is now possible to add an instantiated instance of CommandOptions with
add_command
. This
makes it easier to access global options from within command options. See the test
shouldAccessParentOptionsFromCommand incommand_t.cpp
and the new example in the README file. - The help formatter can be changed in parser configuration. See the test shouldChangeHelpFormatter
inparserconfig_t.cpp
.
Changed
- The interface for defining program parameters has changed. The parameters are defined through the
params()
method of theargument_parser
class. The oldargument_parser
methods for defining
parameters are deprecated and will be removed. - Fix: Treat negative numbers as numbers when they can not be mistaken for options.
Argumentum
Merge branch 'fix_crossplatform_build' Previously a custom tool for installing the headers was built. This is not compatible with cross-platform build so the tool was replaced with a cmake script.
Argumentum
v0.2.1 Fix namespace in examples in readme file
Argumentum
v0.2.0 Merge branch 'name_change'