Re: [Boost-bugs] [Boost C++ Libraries] #687: [program_options] Allow unrecognized options in configfile

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #687: [program_options] Allow unrecognized options in configfile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-06 12:38:32


#687: [program_options] Allow unrecognized options in configfile
-------------------------------+--------------------------------------------
  Reporter: ensc | Owner: vladimir_prus
      Type: Feature Requests | Status: new
 Milestone: | Component: program_options
   Version: None | Severity: Showstopper
Resolution: None | Keywords:
-------------------------------+--------------------------------------------
Changes (by dave):

  * owner: nobody => vladimir_prus
  * status: assigned => new
  * component: None => program_options
  * severity: => Showstopper

Old description:

> {{{
> 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.
>
> }}}

New description:

 {{{
 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.

 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/687#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC