Skip to content

Releases: jemarq04/cpp-argparse

v2.2.7

19 Dec 03:03

Choose a tag to compare

update arithmetic operator overloads for ArgumentValueList so that th…

v2.2.6

13 Dec 21:26

Choose a tag to compare

add is_false() helper function and logical operator overloads to Argu…

v2.2.5

01 Nov 08:59

Choose a tag to compare

add is_true() method for ArgumentValue objects

v2.2.4

18 Jul 20:37

Choose a tag to compare

Fixed parser-level defaults. Changed return-type of get_defaults() to…

v2.2.3

12 Jul 14:49

Choose a tag to compare

Improved function organization and added most common operator overloa…

v2.2.2

11 Jul 16:42

Choose a tag to compare

Added new typedef for the return type of ArgumentParser::parse_args() and an additional assignment operator for ArgumentValueList.

v2.2.1

09 Jul 19:08

Choose a tag to compare

Added in more methods to argparse::ArgumentValue and argparse::ArgumentValueList to help simplify some common use cases.

v2.2.0

09 Jul 18:54

Choose a tag to compare

This version adds in the argparse::ArgumentValue and argparse::ArgumentValueList helper classes. These will make it possible to retrieve typed argument values such as int num = args["num"]; instead of something like int num = strtol(args["num"][0].c_str(), nullptr, 10);. (Both of these examples assume that args is the return value of argparse::ArgumentParser::parse_args().)

The new return type of argparse::ArgumentParser::parse_args() reflects this change and now returns std::map<std::string, ArgumentValueList>.

v2.1.1

07 Jul 13:02

Choose a tag to compare

This release combines the header and implementation file into one header file for easy use in your scripts. Just add the file into your working directory and add #include "argparse.h" to your script.