Vladimir Prus
e1010ad09e
Fix warnings.
...
Addresses #3603 .
Patch from Sascha Ochsenknecht.
[SVN r57535]
2009-11-10 06:59:54 +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
Vladimir Prus
86aeaf478d
Don't use boost.test for testing.
...
[SVN r40463]
2007-10-25 17:08:27 +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
Vladimir Prus
f88e0a9572
Attempt to fix VC7 parse error.
...
[SVN r29400]
2005-06-03 10:38:24 +00:00
Vladimir Prus
9a149beb76
Fix 'unknown option' error for two successive calls to 'store'.
...
The bug triggered if
- we store two parsed_option object into variables_map
- the options descriptions associated with those parsed_option objects
are different
- an option present in first parser_option object is not declared in
second options_description.
The problem was that on the second 'store' call we went over all
stored options, trying to get their description from the *second*
options description object.
Thanks to Hartmut Kaiser for the bug report.
[SVN r28685]
2005-05-06 06:40:39 +00:00
Vladimir Prus
c984d59de1
Refactor the command line parser so that it uses options_description,
...
as opposed to having his own data structures. Clean up option description
classes a bit, removing unneeded methods. Remove support for 'implicit'
options.
[SVN r28413]
2005-04-22 13:35:45 +00:00
Stefan Slapeta
fc423bf6bc
Replaced BOOST_TEST*
...
[SVN r27052]
2005-02-03 12:45:59 +00:00
Vladimir Prus
44d5ba98c1
Improve 'bool_switch' -- don't accept any argument on the command line.
...
Allow to set 'zero_tokens' flag for the typed_value type.
[SVN r25105]
2004-09-15 09:49:00 +00:00
Vladimir Prus
b4192e34b9
Another set of doc/comment edits from Charles.
...
[SVN r24657]
2004-08-23 10:18:09 +00:00
Vladimir Prus
a031382c91
Try to workaround vc7 failure by adding & when taking function address.
...
[SVN r23180]
2004-06-25 12:21:21 +00:00
Vladimir Prus
df45b22508
More vc6 workarounds.
...
[SVN r23101]
2004-06-15 09:15:32 +00:00
Vladimir Prus
0219187044
Turns out intel just don't have templated vector constructor in some
...
configurations. Introduce auxilliary function to conveniently create vectors
from arrays.
[SVN r22952]
2004-05-27 14:36:53 +00:00
Vladimir Prus
cf02adf126
Fix a typo in the previous commit.
...
[SVN r22951]
2004-05-27 14:17:53 +00:00
Vladimir Prus
f1e659daf3
Intel 7.1 does not like passing char*[] and char** as two arguments to
...
vector<string> constructor. Try to workaround this.
[SVN r22950]
2004-05-27 14:13:24 +00:00
Vladimir Prus
196f6c0b5b
Import revision 295 of the program_options library.
...
[SVN r22823]
2004-05-14 13:40:31 +00:00