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.