Skip to content

popl v1.2.0

Compare
Choose a tag to compare
@badaix badaix released this 24 Jun 20:25
· 16 commits to master since this release

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()