|
Boost : |
From: SourceForge.net (noreply_at_[hidden])
Date: 2006-10-09 22:52:50
Bugs item #1574213, was opened at 2006-10-09 19:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1574213&group_id=7586
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: jas (ei2pi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Parameter reversal in program_options documentation
Initial Comment:
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();
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1574213&group_id=7586
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk