From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-02 02:45:59
Neal D. Becker wrote:
> Vladimir Prus wrote:
>> Hi Neal,
>>> Any suggestion on how to implement the common gnu idiom:
>>> --switch and --no-switch?
>>> bool_switch seems perfect for implementing --switch, but what about
>>> --no-switch (which should set switch_value to false)?
>> What do you think about the approach in examples/custom_syntax.cpp?
>> - Volodya
> I think it's not documented.
is supposed to discuss that example.
> I don't see any mention of extra_parser in:
You're right, unfortunately :-(
I've added some comments, on trunk and release branch, and would suggest
that you just copy the usage of 'extra_parser' from the example.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk