program_options: Allowing unknown options in config files

26 Nov
2008
26 Nov
'08
6:11 p.m.
Hi, I'm trying to use the Program Options library to parse command line arguments and config files. I can do this with moderate success. I am currently stuck on a solution to the problem of unrecognized options that are present in a config file. It seems that parse_config_file() does not have an obvious way to not abort reading a config file once it finds something that isn't declared in the options description. Any help on how to get around this (or just a kind of "hey you missed this bit of the manual" kind of pointer) would be very welcome. Thanks, Kevin
5932
Age (days ago)
5932
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kevin Channon