Subject: [Boost-bugs] [Boost C++ Libraries] #1274: Useless error message
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-19 16:28:31
#1274: Useless error message
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1274>
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