jarro2783/cxxopts v2.0 Release Notes
Options::parsereturns 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.
- 📜 A new
ParseResultobject that is the immutable result of parsing. It responds to the same
Optionsof 1.x did.
- 📜 The function
ParseResult::argumentsreturns a vector of the parsed arguments to iterate through in the order they were provided.
- The symbol
cxxopts::versionfor the version of the library.
- Booleans can be specified with various strings and explicitly set false.