Opened 15 years ago
Closed 13 years ago
#1274 closed Bugs (duplicate)
Useless error message
Reported by: | anonymous | Owned by: | Vladimir Prus |
---|---|---|---|
Milestone: | To Be Determined | Component: | program_options |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When the user provides two or more identical options that don't accept multiple values, program_options throws an instance of boost::program_options::multiple_occurrences that tells very little what occurred:
terminate called after throwing an instance of 'boost::program_options::multiple_occurrences' what(): multiple_occurrences
It would be useful to say at least which option was provided multiple times.
Change History (2)
comment:1 by , 14 years ago
Version: | Boost 1.34.1 → Boost 1.38.0 |
---|
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Similar is also reported in #3423.