Commit Graph

509 Commits

Author SHA1 Message Date
Stephan van Veen
10fab58969 Replace upsert method by std::map::insert_or_assign 2019-05-10 17:06:28 +02:00
Stephan van Veen
91cd2477de Fix broken indentation 2019-05-09 20:31:10 +02:00
Stephan van Veen
2dc9121acf Simplify type traits 2019-05-09 18:44:47 +02:00
Stephan van Veen
df21d07bd6 Prefer emplace_back over push_back 2019-05-09 18:44:46 +02:00
Stephan van Veen
bef90a8d4f Make use of move semantics 2019-05-09 18:44:46 +02:00
Stephan van Veen
1eadf94438 Use empty() instead of size comparison 2019-05-09 18:44:46 +02:00
Stephan van Veen
d57b191f77 Use range based for loop 2019-05-09 18:44:46 +02:00
Stephan van Veen
89e4bb11ac Use auto type for iterators 2019-05-09 18:44:46 +02:00
Stephan van Veen
328f1048da Initialize mNames using 2019-05-09 18:44:46 +02:00
Stephan van Veen
d9bff3dc2b Construct Argument using template pack of names 2019-05-09 18:44:46 +02:00
Stephan van Veen
8474147a7c Use default constructor and non-static member initializers 2019-05-09 18:44:46 +02:00
Pranav Srinivas Kumar
f13f538f8c
Merge pull request #11 from Jackojc/fix_warnings
Fix some warnings
2019-05-07 19:09:19 -04:00
Jack Clarke
4448983ecf fixed warnings 2019-05-07 17:04:48 +01:00
Pranav Srinivas Kumar
3ea4c79137 Fixes core dump on optional arg (issue #10) 2019-05-04 11:49:30 -04:00
Pranav Srinivas Kumar
374c70e7b3
Fixes issue #8 2019-05-01 20:13:10 -04:00
Pranav Srinivas Kumar
7c9f83c7e1 Fixes issue #9 where error message shows the small form of the argument even though the user enters the long version 2019-05-01 20:06:13 -04:00
Pranav Srinivas Kumar
4d98282e2f Fixed formatting in error message (Issue #9) 2019-05-01 19:55:40 -04:00
Pranav Srinivas Kumar
a80b960ea3
Update README.md 2019-04-28 19:30:52 -04:00
Pranav Srinivas Kumar
f011fd35ff
Update README.md 2019-04-24 14:17:55 -04:00
Pranav Srinivas Kumar
16ef9d2de6
Merge pull request #7 from zhihaoy/fix-warn
Fix C4267 in MSVC
2019-04-23 20:25:30 -04:00
Zhihao Yuan
af7380f98b
Fix C4267 in MSVC 2019-04-23 18:28:15 -05:00
Pranav Srinivas Kumar
b35cee19e2
Update README.md 2019-04-19 21:09:17 -04:00
Pranav Srinivas Kumar
7022e7043c Merge branch 'master' of https://github.com/p-ranav/argparse 2019-04-18 22:42:51 -04:00
Pranav Srinivas Kumar
88eca55b06 Fixes issue #6 2019-04-18 22:42:43 -04:00
Pranav Srinivas Kumar
f58e2577d0
Update README.md 2019-04-12 21:34:30 -04:00
Pranav Srinivas Kumar
45d8b1bc24
Update README.md 2019-04-12 21:33:43 -04:00
Pranav Srinivas Kumar
a5192878c1
Update CMakeLists.txt 2019-04-10 21:18:14 -04:00
Pranav Srinivas Kumar
0b1a5b71f8 Added conanfile 2019-04-10 20:54:57 -04:00
Pranav Srinivas Kumar
483e9f2a5a
Fixes issue #5 2019-04-10 07:33:46 -04:00
Pranav Srinivas Kumar
f3cd481bd4
Merge pull request #4 from SuperWig/cmake
Add root CMakeLists.txt
2019-04-10 07:19:21 -04:00
Daniel Marshall
07f09279ed Add root CMakeLists.txt 2019-04-10 12:14:33 +01:00
Pranav Srinivas Kumar
a60cb8baa2
Update README.md 2019-04-09 15:04:03 -04:00
Pranav Srinivas Kumar
bf3f582740
Update README.md 2019-04-09 14:55:08 -04:00
Pranav Srinivas Kumar
bc4eddc138
Update README.md 2019-04-09 07:46:47 -04:00
Pranav Srinivas Kumar
29f0c52f5f
Update README.md 2019-04-02 07:21:14 -04:00
Pranav Srinivas Kumar
ba8af57470
Update README.md 2019-04-01 23:47:49 -04:00
Pranav Srinivas Kumar
ad016b3c6e
Update README.md 2019-04-01 23:45:25 -04:00
Pranav Srinivas Kumar
c3e4853729
Update README.md 2019-04-01 23:31:27 -04:00
Pranav Srinivas Kumar
9ffa511dac
Update README.md 2019-04-01 23:28:17 -04:00
Pranav Srinivas Kumar
4b59010bd3
Update README.md 2019-04-01 22:03:59 -04:00
Pranav Srinivas Kumar
c70e6e52b5 Removed old files 2019-04-01 22:01:59 -04:00
Pranav Srinivas Kumar
bb4a2dbba7 Renamed directories 2019-04-01 22:01:40 -04:00
Pranav Srinivas Kumar
11729b4dfe
Update README.md 2019-04-01 21:53:04 -04:00
Pranav Srinivas Kumar
5bf9b958f6 Merge branch 'master' of https://github.com/p-ranav/argparse 2019-04-01 21:44:18 -04:00
Pranav Srinivas Kumar
2143c7140b Minor update to positional argument test 2019-04-01 21:44:15 -04:00
Pranav Srinivas Kumar
2bc003018d
Update README.md 2019-04-01 21:43:55 -04:00
Pranav Srinivas Kumar
63a6763489 Fixed minor bug with validating optional arguments. Added mIsUsed to Argument class 2019-04-01 21:32:12 -04:00
Pranav Srinivas Kumar
03bf4f294d Added more comments. Updated parse_args_validate to complain when optional arguments are provided but not completely 2019-04-01 21:24:26 -04:00
Pranav Srinivas Kumar
8fd51f982d Argument is now a class. Also it's friends with ArgumentParser. Moved a number of methods to private 2019-04-01 21:04:50 -04:00
Pranav Srinivas Kumar
20a67c21a9 Removed debug print 2019-04-01 20:59:22 -04:00