Badaix Popl Versions Save

Header-only C++ program options parser library

v1.3.0

2 years ago

Version 1.3.0

Bugfixes

  • Escape std::min or std::max if they are defined as C macro (PR #16)
  • Fix older cmake compilation fails (PR #17)
  • Fix Windows compilation errors

Features

  • Add support for ini files
  • Add start_index argument to 'parse' function (PR #15)
  • Add reset for Options

General

  • Add catch2 test framework
  • Add GitHub Actions

v1.2.0

5 years ago

Version 1.2.0

Bugfixes

  • Fix compile errors when using MSVC (PR #3)
  • Add const-correctness to argv (PR #4)
  • Decorate functions inline to silence unused functions warning (PR #6)
  • Prevent double definition of NOMINMAX (PR #8)

Features

  • Allow multiple OptionParser runs (PR #5)
  • Option printer for Groff format
  • Option printer for bash completion
  • Parser throws invalid_option exceptions, providing the option, the value, error text, and error code
  • Support mandatory options (must be set from command line) (PR #7)

General

  • Replace Visibility with the generalized Attribute allowing required options
  • Rename Option::long_option(), Option::short_option() to Option::long_name(), Option::short_name()

v1.1.0

6 years ago

Version 1.1.0

Bugfixes

  • Fix compile error "Virtual functions but no virtual destructors”
  • Fix multiple definition linker error when included in different translational units

General

  • make building of popl_example optional in cmake

v1.0.0

6 years ago

v0.3.0

7 years ago

Version 0.3.0

Changes

  • Switched license from GPL v3 to MIT

v0.2.0

7 years ago

Version 0.2.0

Changes

  • Removed dependency to getopt.h

v0.1.0

7 years ago

Version 0.1.0

Changes

  • Initial release