Commit Graph

74 Commits

Author SHA1 Message Date
Kostya Bazhanov
9c59bb25ff Fix Clang -Wsign-conversion and -Wshorten-64-to-32 warnings. 2015-04-18 21:50:12 +03:00
Kostya Bazhanov
2e9aab5cd0 Remove trailing spaces. 2015-04-18 21:43:37 +03:00
Baptiste Wicht
7611711651 Better support for spaces
This fixes support for options such as --file="folder with spaces/file".
2015-02-13 10:55:26 +01:00
Nagy Zsolt
44de7726f8 Fix remaining character check 2015-01-23 18:25:17 +01:00
Jarryd Beck
2144fbcc58 comment about Unicode 2014-11-08 15:30:32 +11:00
Jarryd Beck
f62ebb9688 formatting, inline 2014-10-31 08:30:50 +11:00
Baptiste Wicht
5492f17969 Add some getter
* Get list of groups
 * Get help details for groups
2014-10-30 18:14:08 +01:00
Jarryd Beck
f4c429390f Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	src/cxxopts.hpp
2014-10-30 08:56:29 +11:00
Baptiste Wicht
164095cc0c Macro to disable RTTI 2014-10-29 17:52:30 +01:00
Baptiste Wicht
4e4e91c37d Fix warnings 2014-10-29 17:35:42 +01:00
Baptiste Wicht
0639e086ea Finalize help 2014-10-29 17:04:53 +01:00
Baptiste Wicht
e09bb9052a Enhance example 2014-10-29 16:59:57 +01:00
Baptiste Wicht
9a2749f692 Merge branch 'master' into default_values
Conflicts:
	src/cxxopts.hpp
	src/example.cpp
2014-10-29 16:42:59 +01:00
Jarryd Beck
1a558d76bd custom argument help 2014-10-29 12:35:05 +11:00
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