Boost C++ Libraries: Ticket #1274: Useless error message https://svn.boost.org/trac10/ticket/1274 <p> 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: </p> <pre class="wiki">terminate called after throwing an instance of 'boost::program_options::multiple_occurrences' what(): multiple_occurrences </pre><p> It would be useful to say at least which option was provided multiple times. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1274 Trac 1.4.3 anonymous Wed, 18 Mar 2009 15:53:36 GMT version changed https://svn.boost.org/trac10/ticket/1274#comment:1 https://svn.boost.org/trac10/ticket/1274#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.34.1</span> → <span class="trac-field-new">Boost 1.38.0</span> </li> </ul> Ticket Vladimir Prus Sat, 07 Nov 2009 08:57:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1274#comment:2 https://svn.boost.org/trac10/ticket/1274#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Similar is also reported in <a class="reopened ticket" href="https://svn.boost.org/trac10/ticket/3423" title="#3423: Feature Requests: Diagnostic of errors. (reopened)">#3423</a>. </p> Ticket