Boost C++ Libraries: Ticket #687: [program_options] Allow unrecognized options in configfile https://svn.boost.org/trac10/ticket/687 <pre class="wiki">It would be nice when the config-file parser would have a similar mechanism to allow and collect unregistered options like the command-line parser. E.g. with the command-line parser I can use the allow_unregistered() method, but config-file parser throws always a boost::program_options::unknown_option exception. I want this feature e.g. to express things like | module = A | module = B | [A] | foo = X | [B] | bar = Y where the options in the [A] and [B] sections are unknown at the first pass. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/687 Trac 1.4.3 Dave Abrahams Fri, 06 Jul 2007 12:38:31 GMT owner, status, component, description changed; severity set https://svn.boost.org/trac10/ticket/687#comment:1 https://svn.boost.org/trac10/ticket/687#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">nobody</span> to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/687?action=diff&amp;version=1">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Vladimir Prus Wed, 11 Jul 2007 19:39:42 GMT status, resolution changed https://svn.boost.org/trac10/ticket/687#comment:2 https://svn.boost.org/trac10/ticket/687#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Done in CVS HEAD. The parse_config_file function has the new parameter 'allow_unregistered'. </p> Ticket