
26 Sep
2007
26 Sep
'07
11:45 p.m.
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