Boost logo

Boost Users :

From: Sebastian Weber (sebastian.weber_at_[hidden])
Date: 2007-02-20 06:47:19


Hello!

I'm using program_options to parse command line options and
configuration files. I absolutley need the unknown option feature. For
the command line options this works fine. However, the configuration
file parsing always throws an option unknown exception when I parse
cfg-files with non-registered options. Right right I circumvent this by
catching the corresponding exception. But this is not very nice and I
can as well not be sure that all options have been parsed in the
cfg-file, depending upon the first occurence of an unknown option,
right? So, is there a possibility to process unknown options in
cfg-files?

Thanks a lot in advance.

Greetings,

Sebastian


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