Commit Graph

110 Commits

Author SHA1 Message Date
Baptiste Wicht
9642317b08 Fix implicit and short 2014-10-28 21:36:33 +01:00
Baptiste Wicht
32be452302 Fix compilation 2014-10-28 21:27:29 +01:00
Baptiste Wicht
cc65ebb4fc Fix warning 2014-10-27 19:25:44 +01:00
Baptiste Wicht
65093e0432 Cleanup 2014-10-27 19:19:54 +01:00
Baptiste Wicht
387e51dc16 Merge branch 'master' into default_values
Conflicts:
	src/cxxopts.hpp
2014-10-27 19:09:41 +01:00
Jarryd Beck
8d7c4ea43e unicode configuration 2014-10-27 22:06:24 +11:00
Jarryd Beck
8234766bca better help example 2014-10-27 16:47:21 +11:00
Jarryd Beck
3707c91a01 unicode help 2014-10-27 16:46:16 +11:00
Jarryd Beck
9509ca94f2 unicode 2014-10-27 16:45:13 +11:00
Jarryd Beck
9d1a4dfcdc more icu::UnicodeString 2014-10-27 15:20:12 +11:00
Jarryd Beck
f514d7d71e start converting to String for Unicode 2014-10-27 13:30:22 +11:00
jarro2783
0cd24a7e6b Merge pull request #7 from wichtounet/space_between_groups
Add an eol between each option groups
2014-10-27 10:59:41 +11:00
Baptiste Wicht
456ea951ab Add support for implicit values 2014-10-26 22:05:24 +01:00
Baptiste Wicht
b343ad9855 Make the model more powerful 2014-10-26 21:31:16 +01:00
Baptiste Wicht
7e8f2e0b26 Complete the help 2014-10-26 21:18:54 +01:00
Baptiste Wicht
22ab9836d4 Add basic support for default options 2014-10-26 21:01:18 +01:00
Baptiste Wicht
a525bb1eef Add an eol between each option groups 2014-10-26 19:18:41 +01:00
Baptiste Wicht
63af78443b Add support for alphanumeric options 2014-10-26 19:12:32 +01:00
Jarryd Beck
3f1220e3d8 help string 2014-10-17 11:59:40 +11:00
Jarryd Beck
9889637790 inline everything 2014-10-15 11:38:39 +11:00
Jarryd Beck
2c0e4e8213 emplace 2014-10-15 11:28:51 +11:00
Jarryd Beck
dacea725df const reference 2014-10-15 11:26:33 +11:00
Jarryd Beck
32ca8c5c7c Merge branch 'untangle_includes' of https://github.com/DennisOSRM/cxxopts into untangle-includes
Conflicts:
	src/cxxopts.hpp
2014-10-14 20:29:49 +11:00
Dennis Luxen
0fe22a5171 untangle includes
- order lexicographically
- include all used headers directly instead of implicit includes
- remove unused header
- move regex include into compile unit
2014-10-14 11:18:10 +02:00
Baptiste Wicht
3697050e62 Add include guards to cxxopts.hpp 2014-10-14 08:45:13 +02:00
Jarryd Beck
1d9ae57a92 parse groups 2014-10-14 16:59:54 +11:00
Jarryd Beck
239525bcf4 parse into value 2014-10-14 16:59:25 +11:00
Jarryd Beck
c8b22d113d print usage 2014-10-14 13:29:30 +11:00
Jarryd Beck
2bf1060d0b start option groups 2014-10-14 10:49:14 +11:00
Jarryd Beck
fd3d4bb2e7 test long option names 2014-10-14 10:39:03 +11:00
Jarryd Beck
18ad3b1659 exception on parse error 2014-10-13 20:52:06 +11:00
Jarryd Beck
65c13302b4 put in place check for value error 2014-10-13 18:05:01 +11:00
Jarryd Beck
aa0a3a415c install 2014-10-13 16:35:51 +11:00
Jarryd Beck
abf96da697 fix description formatting 2014-10-13 15:58:17 +11:00
Jarryd Beck
2e4c78805d format help description 2014-10-13 14:30:56 +11:00
Jarryd Beck
4f8ded2a39 update message 2014-10-13 09:20:04 +11:00
Jarryd Beck
361f0d8bf4 basic help printing 2014-10-10 19:46:59 +11:00
Jarryd Beck
def4848b23 move to example.cpp 2014-10-10 18:03:44 +11:00
Jarryd Beck
bd48ccfcbd start help 2014-10-10 18:03:18 +11:00
Jarryd Beck
95af125bf6 fix adding missing options 2014-10-10 18:03:06 +11:00
Jarryd Beck
8c9249a8c6 reorganise 2014-10-10 17:29:49 +11:00
Jarryd Beck
d7271eda80 add vectors 2014-10-09 14:09:02 +11:00
Jarryd Beck
07fa58d397 modify argc and argv 2014-10-09 11:16:34 +11:00
Jarryd Beck
8701a5d7ca parse positional arguments 2014-10-09 11:08:36 +11:00
Jarryd Beck
2a6e80ad64 remove boost dependency 2014-10-03 17:36:00 +10:00
Jarryd Beck
e19872b7c0 cmake copyright 2014-10-02 21:12:28 +10:00
Jarryd Beck
f11af6fb89 copyright 2014-10-02 21:11:50 +10:00
Jarryd Beck
97d072ae2d basically working 2014-10-02 16:38:13 +10:00
Jarryd Beck
70d458e90b default_value 2014-10-01 20:56:30 +10:00
Jarryd Beck
58b63617bd add a string parser 2014-10-01 17:52:34 +10:00
Jarryd Beck
6f51b4f218 ready to test 2014-10-01 17:36:43 +10:00
Jarryd Beck
b89dc24eb1 find argument 2014-09-29 18:16:05 +10:00
Jarryd Beck
eb41b032df count uses 2014-09-29 18:13:21 +10:00
Jarryd Beck
37122edba1 writing parser 2014-09-28 21:41:19 +10:00
Jarryd Beck
8a86fbc32f clean up exceptions a bit 2014-09-28 21:09:21 +10:00
Jarryd Beck
a61dd78a57 parsing 2014-09-27 22:04:53 +10:00
Jarryd Beck
b89953f42b start option description 2014-09-27 17:04:58 +10:00
Jarryd Beck
db5477ddd8 getting option adding working 2014-09-26 02:19:23 +10:00
Jarryd Beck
de73da53b5 option regexes 2014-09-18 15:16:51 +10:00
Jarryd Beck
2deb5d87fb initial commit 2014-09-10 16:47:22 +10:00