Commit Graph

504 Commits

Author SHA1 Message Date
Zhihao Yuan
3f949fc3f1
Stop sharing argument values with parent parsers
See also: p-ranav/argparse#50
2019-11-16 14:33:00 -06:00
Zhihao Yuan
2208ec5b2d
Remove unused copy of parent parsers 2019-11-16 01:51:47 -06:00
Pranav Srinivas Kumar
5d1e80a7d0
Merge pull request #48 from lichray/bind-in-action
Bind in action
2019-11-14 06:55:57 -06:00
Zhihao Yuan
f6e686b69c
Bind extra arguments to actions
closes: p-ranav/argparse#38
2019-11-14 01:30:04 -06:00
Zhihao Yuan
35ca16338b
Fix configuration for clang-format 8.0
See also https://reviews.llvm.org/D42098
2019-11-13 22:51:02 -06:00
Pranav Srinivas Kumar
77692fda8d
Merge pull request #46 from zhihaoy/void-action
Allow actions that return void
2019-11-13 14:26:42 -06:00
Zhihao Yuan
dc227448f6
Allow actions that return void
closes: p-ranav/argparse#39
2019-11-13 12:54:07 -06:00
Pranav Srinivas Kumar
bda0866320
Merge pull request #44 from lichray/help-stream
Help stream
2019-11-13 08:36:58 -06:00
Pranav Srinivas Kumar
f889195b95
Merge pull request #45 from lichray/no-macro
Remove the undocumented PARSE_ARGS macro
2019-11-13 08:35:03 -06:00
Pranav Srinivas Kumar
883d6c75d5
Merge branch 'master' into help-stream 2019-11-13 08:32:19 -06:00
Pranav Srinivas Kumar
c4256afd4b Added test case for issue #37 2019-11-13 08:25:07 -06:00
Pranav Srinivas Kumar
39618d25a1 Added .clang-format. Closes #43 2019-11-13 08:24:51 -06:00
Zhihao Yuan
c6cc306ec8
Remove the undocumented PARSE_ARGS macro
closes: p-ranav/argparse#41
2019-11-13 03:00:42 -06:00
Zhihao Yuan
dc74051832
Deprecate print_help()
closes: p-ranav/argparse#40
2019-11-13 02:40:15 -06:00
Zhihao Yuan
9d66976421
Print ArgumentParser help with stream insertion 2019-11-13 02:17:28 -06:00
Pranav Srinivas Kumar
79eba4e81f
Update README.md 2019-09-13 19:47:44 -05:00
Pranav Srinivas Kumar
61e9b644c0
Update README.md 2019-09-10 10:15:15 -05:00
Pranav Srinivas Kumar
acfa32e5c1
Merge pull request #36 from MU001999/update-namespace
Add a name for the anonymous namespace
2019-09-01 08:42:12 -05:00
mu001999
dd528a1d70 Add name for anonymous namespace 2019-09-01 21:16:59 +08:00
Pranav Srinivas Kumar
db9f81e19a
Update README.md 2019-08-27 10:28:40 -05:00
Pranav Srinivas Kumar
a9bc1c9a4a Closes #28 2019-08-17 17:56:29 -05:00
Pranav Srinivas Kumar
cb04248cfa Updated formatting 2019-08-17 17:01:04 -05:00
Pranav Srinivas Kumar
8df0a878ac Merge branch 'master' of github.com:p-ranav/argparse 2019-08-17 16:57:15 -05:00
Pranav Srinivas Kumar
e40d9d5513 Closes #35 2019-08-17 16:57:00 -05:00
Pranav Srinivas Kumar
272b19bec2
Merge pull request #34 from wtdcode/add-required-aruguments-tests
Some basic tests for required arguments
2019-08-07 08:02:03 -05:00
Mio
3c7fcad146 Fix typo 2019-08-07 19:58:32 +08:00
Mio
466e3aa37c Include new tests 2019-08-07 19:58:25 +08:00
Mio
34165a8ed7 Add corresponding tests for required arguments 2019-08-07 19:53:35 +08:00
Pranav Srinivas Kumar
aba9b10101
Merge pull request #32 from wtdcode/remove-newlines
Remove extra new lines
2019-08-06 08:49:01 -05:00
Pranav Srinivas Kumar
e8dcc7e2c6
Merge pull request #33 from wtdcode/add-required-feature
Add a 'required' feature
2019-08-06 08:48:45 -05:00
Mio
4712288086 Change the format of required arguments 2019-08-06 20:52:31 +08:00
Mio
39c720e6c0 Add a mIsRquired field 2019-08-06 20:48:51 +08:00
Mio
7cb710f404 Remove extra new lines 2019-08-06 20:41:24 +08:00
Pranav Srinivas Kumar
1635efdc44
Merge pull request #31 from zhihaoy/ci-overhaul
Use OSX CI and Windows to test other toolchains
2019-08-05 11:37:39 -05:00
Zhihao Yuan
a91b11d203
Use OSX CI and Windows to test other toolchains 2019-08-05 09:00:25 -05:00
Pranav Srinivas Kumar
a2bd798920
Update README.md 2019-06-16 16:36:05 -04:00
Pranav Srinivas Kumar
f9eb9779d6
Update .travis.yml 2019-06-16 16:31:02 -04:00
Pranav Srinivas Kumar
811d1edc8b
Update .travis.yml 2019-06-16 16:28:53 -04:00
Pranav Srinivas Kumar
895969a4f6
Create .travis.yml 2019-06-16 16:24:53 -04:00
Pranav Srinivas Kumar
2c71311b5f
Update README.md 2019-06-09 12:31:58 -04:00
Pranav Srinivas Kumar
af1af7d5b7 Unit tests to parse floating point numbers in E-notation. Issue #24 2019-06-06 21:37:36 -04:00
Pranav Srinivas Kumar
6e69548d82
Addresses Issue #25 2019-06-06 21:30:31 -04:00
Pranav Srinivas Kumar
73f6aa7538 Fixes Issue #24 2019-06-06 21:24:32 -04:00
Pranav Srinivas Kumar
2125f34d35
Update README.md 2019-06-05 15:48:12 -04:00
Pranav Srinivas Kumar
3ff61cce4b
Fixes Issue #23 2019-06-05 15:30:08 -04:00
Pranav Srinivas Kumar
af650392e7 Fixes Issue #22 - Tested w/ Visual Studio 2019 2019-06-05 09:13:51 -04:00
Pranav Srinivas Kumar
369cd551ac
Merge pull request #21 from svanveen/fix/print-help
Do some refactoring of print_help to resolve strong binding of ArgumentParser and Argument
2019-05-25 21:07:25 -04:00
Stephan van Veen
6d46876f5c Do some cleanup in print_help 2019-05-25 20:07:24 +02:00
Stephan van Veen
67e535e171 Move print_help logic into Argument 2019-05-25 20:01:04 +02:00
Pranav Srinivas Kumar
b95765f53d
Merge pull request #20 from Bnmann/dev-bnmann-fix-cmake-export
Fix invalid cmake export configuration
2019-05-25 07:37:11 -04:00