From: Hartmut Kaiser (HartmutKaiser_at_[hidden])
Date: 2005-04-26 14:42:15
Vladimir Prus wrote:
> just before feature freeze, I've committed some changes to
> - the command line parser was refactored. For historic
> reasons, it has its own data structures for representing
> options, and now it uses the options_description class. The
> internals were also cleaned up.
> - the 'implicit' option flag was removed. I've asked for
> comments on this some time ago, and no objections was raised.
> - some methods of 'options_description' and
> 'option_description' classes were
> - In 1.32, the 'additional_parser' could return only a single
> option. There's a new method of command line parser --
> 'add_style_parser', which can be used to specify a function
> that can return vector<option>. This might be convenient, for
> example, for parsing response files
> Except for 'implicit' removal, those changes should not
> affect users of the library. However, I'd appreciate if user
> test the new version and report any problems.
I recently had some problems with changed semantics of a 0 (zero) as the
style parameter in
parse_command_line(argc, argv, opts_desc, 0, ...);
where the '0' in earlier versions was interpreted as the default_style, but
it is interpreted now as is (as zero).
Was this change a bugfix?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk