
On 13 June 2012 23:23, Evan Driscoll
On 06/13/2012 05:12 PM, Evan Driscoll wrote:
I can (mostly) get around this by naming all the fake positional arguments something like --ZZZZarg and assuming no one will ever want to pass that to another program, but it's a bit unsatisfactory conceptually. Is there a better way?
Actually, playing around more, it's not even acceptable: something like
my_wrapper target_program --help
will trigger my wrapper's --help option. And I definitely *do* want that and perhaps some other options that could potentially conflict.
Is there a way to get the behavior I want with Boost or am I out of luck?
I haven't got back to this issue since I noticed, but it may be related to this: https://svn.boost.org/trac/boost/ticket/5201 http://stackoverflow.com/questions/4107087/accepting-negative-doubles-with-b... If it is, then it needs AFAIU some not-so-non-intrusive refactoring within the boost::program_options. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net