Download Latest Version argparse source code.tar.gz (123.8 kB)
Email in envelope

Get an email when there's a new version of argparse

Home / v3.0
Name Modified Size InfoDownloads / Week
Parent folder
argparse source code.tar.gz 2023-11-06 116.2 kB
argparse source code.zip 2023-11-06 143.0 kB
README.md 2023-11-06 1.7 kB
Totals: 3 Items   260.9 kB 0

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 https://github.com/p-ranav/argparse/pull/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 https://github.com/p-ranav/argparse/pull/209
  • Fixed std::string_view being identified as a container https://github.com/p-ranav/argparse/pull/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 https://github.com/p-ranav/argparse/pull/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]
Source: README.md, updated 2023-11-06