jarro2783/cxxopts v2.0 Release Notes

  • ๐Ÿ”„ Changed

    • ๐Ÿ“œ Options::parse returns a ParseResult rather than storing the parse result internally.
    • 0๏ธโƒฃ Options with default values now get counted as appearing once if they were not specified by the user.

    โž• Added

    • ๐Ÿ“œ A new ParseResult object that is the immutable result of parsing. It responds to the same count and operator[] as Options of 1.x did.
    • ๐Ÿ“œ The function ParseResult::arguments returns a vector of the parsed arguments to iterate through in the order they were provided.
    • The symbol cxxopts::version for the version of the library.
    • Booleans can be specified with various strings and explicitly set false.