Opened 16 years ago
Last modified 15 years ago
#687 closed Feature Requests (fixed)
[program_options] Allow unrecognized options in configfile — at Version 1
Reported by: | ensc | Owned by: | Vladimir Prus |
---|---|---|---|
Milestone: | Component: | program_options | |
Version: | None | Severity: | Showstopper |
Keywords: | Cc: |
Description (last modified by )
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.
Change History (1)
comment:1 by , 15 years ago
Component: | None → program_options |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
Severity: | → Showstopper |
Status: | assigned → new |
Note:
See TracTickets
for help on using tickets.