Subject: [Boost-bugs] [Boost C++ Libraries] #4144: boost::program_options::parse_enviornment lacks allow_unregistered
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-24 04:47:29
#4144: boost::program_options::parse_enviornment lacks allow_unregistered
------------------------------+---------------------------------------------
Reporter: dan@⦠| Owner: vladimir_prus
Type: Feature Requests | Status: new
Milestone: Boost 1.43.0 | Component: program_options
Version: Boost 1.42.0 | Severity: Not Applicable
Keywords: |
------------------------------+---------------------------------------------
allow_unregistered should be an option for the parse_environment parser.
Given a suite of tools that share some but not all options,
parse_environment forces all programs to register all possible options.
Given a suite of tools progb and progc such that:
progb --opta --optb
progc --opta --optc
are valid options to parse, using parse_environment(desc, "PREFIX_") will
only work for PREFIX_OPTA. If PREFIX_OPTB or PREFIX_OPTC are set the
other program will fail.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4144> 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:50:03 UTC