|
Boost : |
From: Allen Bierbaum (allenb_at_[hidden])
Date: 2004-11-23 16:42:40
Jody Hagins wrote:
>On Tue, 23 Nov 2004 10:43:38 -0600
>Allen Bierbaum <allenb_at_[hidden]> wrote:
>
>
>
>
>>./app --my_opt=10 --liboption=custom
>>
>>The problem is that I get an exception from program_options:
>>
>>error: unknown option --liboption
>>
>>
>>Is there any way to tell the program options parser to ignore options
>>that it does not recognize? If there is no option like this, how can
>>program_options be used with other option parsers?
>>
>>
>
>
>I think this is what you want...
>http://www.boost.org/doc/html/program_options/howto.html#id549217
>
>
>
From what I understand of the custom parsers, this just allows the
developer to recognize addition options and options formats. This
doesn't handle my case because what I want to do is ignore unknown
options. (so they can be handled by a different method entirely).
-Allen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk