Vladimir Prus
fd7b310993
Improve error reporting.
...
The name of option is now shown in most cases when it's feasible, and
clarify of the error messages has been improved throughout.
Patch from Leo Goodstadt.
[SVN r77827]
2012-04-08 08:42:39 +00:00
Vladimir Prus
7051655c76
Clarify docs for 'zero_token'.
...
Fixes #1132 .
[SVN r67774]
2011-01-08 11:45:50 +00:00
Vladimir Prus
38e7ea8516
Implement variables_map::clear to clear extra members.
...
Fixes #4927
[SVN r67772]
2011-01-08 10:39:21 +00:00
Vladimir Prus
28cafd9bd9
Make program_options compile on iOS.
...
Patch from Alejandro Isaza.
Fixes #5053 .
[SVN r67768]
2011-01-08 09:57:31 +00:00
Vladimir Prus
b000bf9a1d
Fix formatting of short-only options.
...
Fixes #4644 .
[SVN r65645]
2010-09-28 09:04:44 +00:00
Vladimir Prus
53ba9ab34f
Robustify disambiguation of full/approximate matches.
...
Fixes #3942 .
[SVN r59744]
2010-02-18 09:43:07 +00:00
Sascha Ochsenknecht
af37add8c6
fix in winmain, Fixes #3879
...
[SVN r59437]
2010-02-03 08:26:35 +00:00
Sascha Ochsenknecht
a5e45eda5f
reactive case_insensitive style for cmdline
...
[SVN r58273]
2009-12-10 20:25:53 +00:00
Sascha Ochsenknecht
970e377710
Enhancement to flag options as required, Fixes #2982
...
[SVN r58263]
2009-12-10 08:46:44 +00:00
Sascha Ochsenknecht
645adb48cb
Allow passing file name to parse_config_file(), Fixes #3264
...
[SVN r58248]
2009-12-09 13:45:01 +00:00
Sascha Ochsenknecht
80b3a04b1f
revert changes for #773
...
[SVN r58237]
2009-12-08 14:57:26 +00:00
Sascha Ochsenknecht
f4e7fb0348
config file parser now stores original_tokens, Fixes #2727
...
[SVN r58233]
2009-12-08 07:45:44 +00:00
Sascha Ochsenknecht
f00e305f40
Modify assert, potentially Fixes #773
...
[SVN r58232]
2009-12-08 06:02:23 +00:00
Sascha Ochsenknecht
d9c57f58d9
consistent handling of namespace std
...
[SVN r58185]
2009-12-06 09:56:54 +00:00
Sascha Ochsenknecht
9a04daa2b2
Better detection of missing values on command line, Fixes #3423
...
[SVN r58184]
2009-12-06 09:52:53 +00:00
Sascha Ochsenknecht
5f01f7bf3f
better detection of ambiguous options, see Ticket #3423
...
[SVN r58152]
2009-12-05 08:08:45 +00:00
Sascha Ochsenknecht
6e0f1db1fc
Clean up exception classes, changes regarding to Ticket #3423
...
[SVN r58138]
2009-12-04 13:38:56 +00:00
Sascha Ochsenknecht
00dadb4203
enhance split_unix() to allow unix style splitting of command line string
...
[SVN r58133]
2009-12-04 08:09:43 +00:00
Sascha Ochsenknecht
263534a213
rename description_length to min_description_length for better semantic
...
[SVN r58112]
2009-12-03 11:11:34 +00:00
Sascha Ochsenknecht
60966caa35
Additional parameter to allow user to specify width of column for description text, patch from Chard, Fixes #3703
...
[SVN r58095]
2009-12-02 13:35:54 +00:00
Sascha Ochsenknecht
6b194eed21
additional patch for Ticket #1527
...
[SVN r58054]
2009-11-30 13:38:14 +00:00
Hartmut Kaiser
5fbdd0fafd
ProgramOptions: added a couple of missing std:: namespace qualifiers
...
[SVN r57984]
2009-11-27 22:07:33 +00:00
Sascha Ochsenknecht
3c9e01cad1
consistent use of namespace std
...
[SVN r57972]
2009-11-27 17:49:08 +00:00
Sascha Ochsenknecht
b3e9b5180e
add general split function, Fixes #2561
...
[SVN r57971]
2009-11-27 17:47:51 +00:00
Sascha Ochsenknecht
78693e8799
store empty values from config file, Fixes #1537
...
[SVN r57829]
2009-11-21 07:59:41 +00:00
Sascha Ochsenknecht
ccbbcab336
allow empty values in config file, Fixes #1537
...
[SVN r57819]
2009-11-20 16:53:10 +00:00
Sascha Ochsenknecht
8add1551dc
remove compile warnings
...
[SVN r57805]
2009-11-20 09:50:43 +00:00
Vladimir Prus
aaa914e9a4
Add option name to a few exception classes.
...
Fixes #3423 . Patch from Sascha Ochsenknecht.
[SVN r57746]
2009-11-18 13:35:14 +00:00
Vladimir Prus
73957ca639
Don't strip quotes from values.
...
Fixes #850 .
Patch from Sascha Ochsenknecht.
[SVN r57519]
2009-11-09 18:12:10 +00:00
Vladimir Prus
c6b373ff48
Fix wordwrapping in presense of default parameters.
...
Fixes #2613 .
Patch from Sascha Ochsenknecht.
[SVN r57517]
2009-11-09 16:12:31 +00:00
Vladimir Prus
9c934c39fe
Use extra parens to silence warnings re &&/|| on same level.
...
[SVN r57351]
2009-11-04 10:39:55 +00:00
Vladimir Prus
122fe22e07
Put description to next line if we'd overflow otherwise.
...
Fixes #689 .
Patch from Sascha Ochsenknecht.
[SVN r57271]
2009-11-01 10:44:49 +00:00
Vladimir Prus
8f40132e63
Fix 'ambiguous else clause' compiler warning.
...
Fixes #3556 .
Patch from Mateusz Loskot.
[SVN r57270]
2009-11-01 09:18:33 +00:00
Troy D. Straszheim
3f6577a53b
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Vladimir Prus
6dbc2ac80a
Avoid unnamed namespace, to please vacpp.
...
Closes #3232 .
[SVN r55773]
2009-08-25 06:38:59 +00:00
Troy D. Straszheim
b5ce55ad8c
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Vladimir Prus
354717d9c9
Make program_options compile with disabled exceptions.
...
It appears the all throw statements are during the
parsing, so alternative error reporting strategies are
possible.
Closes #2096 .
[SVN r53723]
2009-06-07 16:10:03 +00:00
Vladimir Prus
badade7842
Explicitly-qualify the use of boost::bind.
...
It appears that MSVC 10 puts tr1's bind into std namespace, which
clases with boost::bind thanks to ADL.
Closes #3072 . Patch from Richard Webb.
[SVN r53700]
2009-06-06 19:57:16 +00:00
Vladimir Prus
ba75831f1b
Properly convert original_tokens and unregistered to woption.
...
Fixes #2425 .
[SVN r53441]
2009-05-30 10:34:37 +00:00
Vladimir Prus
620a9a5021
Make 'notify' ignore values without associated semantics.
...
Fixes #2782 .
[SVN r53440]
2009-05-30 10:26:44 +00:00
Vladimir Prus
e4ccf81e82
Sync trunk&release branches
...
[SVN r52441]
2009-04-17 10:01:38 +00:00
Vladimir Prus
600a8aa105
Merge from release:
...
When processing value multitoken options, don't eat futher options.
Fixes #469 .
[SVN r52210]
2009-04-06 09:36:21 +00:00
Daniel James
ee3079c247
Revert a change I accidentally checked in.
...
[SVN r50219]
2008-12-09 10:54:48 +00:00
Daniel James
68fa36b0f6
Avoid a couple of gcc warnings.
...
[SVN r50214]
2008-12-08 23:35:33 +00:00
Michael A. Jackson
23019ff2ef
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Vladimir Prus
316e2fabe4
Tolerate argc being zero.
...
Patch from C. K. Jester-Young.
[SVN r43207]
2008-02-10 13:13:41 +00:00
Hartmut Kaiser
7ba4ac9c14
ProgramOptions: Silenced VC++ warnings.
...
[SVN r39720]
2007-10-05 23:27:43 +00:00
Hartmut Kaiser
d343dda27e
Trying to work around a SUN 5.8 compiler error.
...
[SVN r39686]
2007-10-04 17:49:20 +00:00
Vladimir Prus
8329c28a1a
Apply patch to fix gcc warning.
...
Fixes #1209 .
[SVN r38871]
2007-08-23 19:51:47 +00:00
Vladimir Prus
e51a3ae742
Support for 'implicit' options.
...
Patch from Bryan Green.
Fixes #1131 .
[SVN r38514]
2007-08-08 18:40:48 +00:00