Boost C++ Libraries: Ticket #11058: (parsing) Some thrown exceptions's messages are missing important info about the offending options https://svn.boost.org/trac10/ticket/11058 <p> The "unknown_option" exception has a message that looks like "unrecognized option". </p> <p> This can be easily improved by modifying the line cmdline.cpp:427 </p> <p> to: boost::throw_exception(unknown_option(opt.string_key)); </p> <p> <em></em><em></em><em></em><em></em><em> Similar issue with " multiple occurences" exception. The exception message does not specify which of the options occured multiple times. This can be fixed by adding the constructor parameter in "multiple_occurences" exception class, and passing it to the parent class. </em></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11058 Trac 1.4.3 viboes Sat, 04 Apr 2015 21:02:24 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11058#comment:1 https://svn.boost.org/trac10/ticket/11058#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> </ul> Ticket