On February 27, after more than a year of development, the release of version 2.5.0 of the cross-platform header-only library for C++ took place. CLI11, intended for parsing command line parameters and distributed under the BSD 3 license.
This version introduces a new formatter with enhanced control capabilities and help output compliant with standards. A modifier has also been added to allow the use of non-standard option names, and several bugs related to non-standard situations in parsing strings and configuration files have been fixed.
Change log:
- The help formatter has been improved to better align with the UNIX standard and allows the generated help to be used in help2man.
- A mechanism has been added to hide groups of options and treat all options as part of the parent group when displaying help.
- A modifier has been added to allow the use of non-standard option names with a single flag, for example -option.
- A modifier has been added to limit the passing of subcommands to the 'parent', which may solve some issues with positional arguments.
- The output to the configuration file has been improved, and a modifier has been added to control the output of default values.
- It is now possible to specify a pair/tuple by default, and their parsing has been improved.
- The minimum required version of CMake is now 3.10.
- Documentation has been improved.
- Discovered bugs have been fixed.
Source: linux.org.ru
