Opened 13 years ago
#4144 new Feature Requests
boost::program_options::parse_enviornment lacks allow_unregistered
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | program_options |
Version: | Boost 1.42.0 | Severity: | Not Applicable |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.