Skip to content

argparse

Latest
Compare
Choose a tag to compare
@p-ranav p-ranav released this 06 Nov 01:51
· 34 commits to master since this release
af442b4

Features / Enhancements

  • Added support for mutually_exclusive_arguments #301, README
  • Added C++20 module #290
  • Added built-in choices argument support. #277, README
  • Added support for binary notation, e.g., 0b101 #306
  • Added is_subcommand_used overload that accepts a subcommand parser #233
  • Added exit_on_default_arguments parameter to ArgumentParser #264
  • A (hide-from-help) suppress flag for subcommands #273
  • Allowed check to see if ArgumentParser has parsed values #218
  • Implemented column-aligned multi-line help message for arguments #259

Fixes

  • Marked ArgumentParser copy and move constructors as deleted #304
  • Fixed error text when multiple positional arguments are expected #209
  • Fixed std::string_view being identified as a container #229
  • Fixed crash with char[] default values #253
  • Resolves a std::numeric_limits<std::size_t>::max)()} error #263
  • Fixed issue #248: Align multiline help messages #268
  • Various maintenance fixes #254

Other

  • Added clang-tidy to PRs #215
  • No install when used as third party #231
  • Install cmake export file in CMAKE_INSTALL_DIR #255
  • CMakefile: Use -Wpedantic, -Werror and -Wextra for compilation in gcc. Fixed warnings #292
  • Updates to README cmake FetchContent section #293
  • More descriptive parse_number errors #297