jarro2783/cxxopts v3.0 Release Notes
-
๐ Changed
- Only search for a C++ compiler in CMakeLists.txt.
- ๐ Allow for exceptions to be disabled.
- ๐ Fix duplicate default options when there is a short and long option.
- Add
CXXOPTS_NO_EXCEPTIONS
to disable exceptions. - ๐ Fix char parsing for space and check for length.
- Change argument type in
Options::parse
fromchar**
toconst char**
. - ๐จ Refactor parser to not change its arguments.
- ๐
ParseResult
doesn't depend on a reference to the parser. - ๐ Fixed several warnings and code quality issues.
- ๐ Improved formatting for help descriptions.
- ๐ Improve integer parsing.
โ Added
- ๐ A list of unmatched arguments is available in
ParseResult
. - ๐ Support single letter options with argument attached.
- ๐ Use if it is present.
๐ Bug Fixes
- ๐ Fix missing option name in exception.