Mike Zozu
b025166e4c
prettier output in case of absence of arg help msg
2020-12-15 19:09:08 +03:00
Mike Zozu
6b30a65ffd
special case for repr: bool value
2020-12-15 16:59:45 +03:00
Mike Zozu
5572cb0862
trying to fix strange AppleClang compiler error
2020-12-15 16:58:38 +03:00
Mike Zozu
6964cccd2f
clang-format
2020-12-15 16:20:41 +03:00
Mike Zozu
282f9ebf91
show default values in help
2020-12-15 16:10:56 +03:00
Robert Kalinowski
bf12edd9a7
Fix help if required and def-value. Fixes #89 .
...
Propose, skip text "[Required]" if argument has default value,
because the argument can be omitted in commend-line.
2020-11-30 19:53:06 +01:00
Joseph Durel
aef670bd43
Make ArgumentParser::add_*() functions working on the parser itself chainable
2020-07-11 10:12:57 -04:00
bufferbase
43f4629be5
Fix incorrect message when mUsedName is empty
...
Previously, it printed ": expected 1 argument(s). 0 provided." when one positional argument is defined but nothing is provided. Now it prints "1 argument(s) expected. 0 provided."
2020-06-04 17:06:20 -07:00
Pranav Srinivas Kumar
f3e65f69a9
Added --version as a special flag similar to --help
...
* ArgumentParser takes a second argument - the program version (std::string)
* Using --version or -v will print the program version and exit
2020-05-15 19:06:00 -05:00
Pranav Srinivas Kumar
33101e7972
Closes #73
2020-05-08 14:35:05 -05:00