Boost logo

Boost Users :

From: Marty Fried (public.forums_at_[hidden])
Date: 2007-09-26 19:45:41


I'd like to use program options in my program, but we have one section of
data which consists of aliases plus a definition for each alias, neither of
which is known to us. The Boost program_options expects that we specify
each possible option, and throws an exception for any that are not listed.

Is there a good way to have it ignore those options it doesn't know about?
It would be OK if we had to use a different parser for the aliases, but
changing the format would make it hard to use, I think.

Thanks to anyone who can give me a hint as to how to best handle this, if
possible.

-- Marty Fried
Left Coast, USA


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net