Boost C++ Libraries: Ticket #748: Parameter reversal in program_options documentation https://svn.boost.org/trac10/ticket/748 <pre class="wiki">http://boost.org/doc/html/program_options/ howto.html#id2716386 The first code block in "Allowing Unknown Options" has the following example code snippet: parsed_options parsed = command_line_parser(argv, argc).options(desc).allow_unregistered().run(); The prototype for command_line_parser calls for argc first, then argv. This suggests the example should read: parsed_options parsed = command_line_parser(argc, argv).options(desc).allow_unregistered().run(); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/748 Trac 1.4.3 Vladimir Prus Thu, 28 Jun 2007 06:52:14 GMT status, resolution changed; severity set https://svn.boost.org/trac10/ticket/748#comment:1 https://svn.boost.org/trac10/ticket/748#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Cosmetic</span> </li> </ul> <p> Fixed in CVS HEAD. </p> Ticket