Skip to content

Releases: artpaul/cxxopts

4.1.2

19 Apr 20:54
Compare
Choose a tag to compare

Fixes

  • fix default_value /implicit_value of type unsigned int cause logic error
  • use istringstream for parsing
  • fix case with short options only

4.1.1

11 Apr 22:27
Compare
Choose a tag to compare

Fixes

  • parse key-value with value_parser
  • do not store empty key

4.1.0

08 Apr 22:30
Compare
Choose a tag to compare

Fixes and features

  • parse all integer types to uint64 and when check for overflow; reduce code size
  • show expected type in 'failed to parse' message
  • customizable parser and vector delimiter

4.0.0

07 Apr 14:28
Compare
Choose a tag to compare

Breaking changes

  • all classes have been renamed to lowercase to match the std convention
  • part of the code has been moved to .cpp

Fixes and features

  • allow an empty string to be valid positional arguments
  • fix empty option name in option_error
  • support parsing value from ENV variable
  • allow '?' in the short option name
  • ability to stop parsing on the first positional argument
  • do not silently consume any option as a value of another option