program_options configuration file - unknown options

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
6361
Age (days ago)
6361
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marty Fried