Commit Graph

124 Commits

Author SHA1 Message Date
Pavel Medvedev
2e157e9881 Skip empty lines in option groups help
Also use single character \n for end of line instead of string literal.
2016-07-01 00:57:59 +03:00
Kevin Brightwell
774d455dc7 Update CMakeLists to be more configurable
* Add cxxopts.hpp as a source file to executable
* Add msvc options for compiling
* Add CXXOPTS_BUILD_EXAMPLES option to CMake build
  * This is helpful when using CMake's ExternalProject_add()
  * It is ON by default, but configurable from the command-line.
2016-06-15 20:32:32 -04:00
Jarryd Beck
7081d81890 add cstring for some compilers 2016-06-03 11:35:48 +10:00
jarro2783
ed28e72b86 Merge pull request #24 from nocnokneo/dont-count-default-values
Don't count default values
2016-05-28 13:27:00 +10:00
Taylor Braun-Jones
7eb1bfbec1 Don't count default values 2016-05-23 15:49:52 -04:00
jarro2783
6c946a413a Merge pull request #21 from nickbp/patch-1
Remove log output
2016-05-13 15:20:20 +10:00
jarro2783
652cbdbfa1 Merge pull request #22 from nocnokneo/patch-1
README.md: Fix compile errors in quick start example
2016-05-13 15:19:39 +10:00
Taylor Braun-Jones
00dc8b3018 README.md: Fix compile errors in quick start example 2016-05-12 18:06:13 -04:00
Nicholas Parker
ff3798f25c Remove log output
Looked like it was left over from something? Saw it when testing "--some-int-val string"
2016-04-30 09:24:04 -07:00
Jarryd Beck
aec97a6f53 update readme 2016-01-28 07:26:10 +11:00
Jarryd Beck
5a7585026d Merge branch 'master' of github.com:jarro2783/cxxopts 2016-01-22 17:48:31 +11:00
Jarryd Beck
4a5d45faf7 note in readme about positional arguments 2016-01-22 17:46:22 +11:00
Jarryd Beck
81f1f440ed count arguments 2016-01-22 17:44:00 +11:00
Jarryd Beck
3ce8cbd1ae add support for -- 2016-01-22 17:43:20 +11:00
jarro2783
8d0ff87fe7 Fix some more formatting 2015-09-28 12:56:03 +10:00
jarro2783
4c3d1159cf Change headings to markdown 2015-09-28 12:54:46 +10:00
jarro2783
7d49500f54 Rename README to README.md 2015-09-28 12:53:26 +10:00
jarro2783
4b6cae9b8f add positional arguments to readme 2015-09-28 12:51:30 +10:00
Jarryd Beck
b2e7efe7f4 positional arguments parse into multiple options 2015-09-25 16:49:06 +10:00
jarro2783
8844335d40 Merge pull request #14 from yazevnul/master
Fix Clang -Wsign-conversion and -Wshorten-64-to-32 warnings.
2015-05-11 16:34:50 +10:00
Kostya Bazhanov
9205d9093b Disable -Wnon-virtual-dtor warning for GCC and Clang. 2015-04-23 22:05:19 +03:00
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
jarro2783
db5c6e24c7 Merge pull request #13 from davidsanfal/master
cxxopts in biicode
2015-03-25 15:27:05 +11:00
David Sánchez Falero
732f4ec546 Update biicode.conf 2015-03-18 17:33:01 +01:00
David Sánchez Falero
507a3a6ec5 Update CMakeLists.txt 2015-03-18 17:31:29 +01:00
David Sánchez
a1c6650189 biicode support added 2015-03-18 13:26:09 +01:00
jarro2783
5ccd16d773 Merge pull request #12 from wichtounet/patch-1
Better support for spaces
2015-02-14 09:16:22 +11: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
jarro2783
feeffe1997 Merge pull request #11 from nzsolt222/fix
Fix remaining character check
2015-01-24 09:58:26 +11: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
Jarryd Beck
4b469af2bf Merge branch 'get_keys' 2014-10-31 08:28:28 +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
Jarryd Beck
fdf49ba719 Merge branch 'default_implicit' 2014-10-30 08:54:03 +11:00
jarro2783
1bf66a40ff Merge pull request #9 from wichtounet/no_rtti
Macro to disable RTTI
2014-10-30 07:55:19 +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
f691449c0a Revert change 2014-10-27 19:29:08 +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