mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
This kind of argument works as if having the "remaining" nargs, inspired by Python's `argparse.REMAINDER`. This change also reduces the size of `Argument` by 8 bytes. See also: https://docs.python.org/2/library/argparse.html#nargs fixes: p-ranav/argparse#17 |
||
---|---|---|
.. | ||
.gitignore | ||
catch.hpp | ||
CMakeLists.txt | ||
main.cpp | ||
README.md | ||
test_actions.hpp | ||
test_compound_arguments.hpp | ||
test_container_arguments.hpp | ||
test_help.hpp | ||
test_invalid_arguments.hpp | ||
test_issue_37.hpp | ||
test_negative_numbers.hpp | ||
test_optional_arguments.hpp | ||
test_parent_parsers.hpp | ||
test_parse_args.hpp | ||
test_positional_arguments.hpp | ||
test_required_arguments.hpp | ||
test_utility.hpp | ||
test_value_semantics.hpp |
Argparse Tests
Linux
$ mkdir build
$ cd build
$ cmake ../.
$ make
$ ./tests
Windows
- Generate Visual Studio solution
$ mkdir build
$ cd build
$ cmake ../. -G "Visual Studio 15 2017"
- Open ARGPARSE.sln
- Build tests in RELEASE | x64
- Run tests.exe