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 from char** to const 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.