[Boost-bugs] [ boost-Bugs-1574751 ] Function name error in program_options documentation

Bugs item #1574751, was opened at 2006-10-10 12:24 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=1574751&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: Function name error in program_options documentation Initial Comment: http://boost.org/doc/html/program_options/ howto.html#id2716386 There are two typos in the second (last) code block in "Allowing Unknown Options". 1. The function name collect_arguments should read collect_unrecognized. 2. The first parameter refers to parsed_options field name "option" rather than "options". So the following block vector<string> to_pass_further = collect_arguments(parsed.option, include_positional); should read as follows vector<string> to_pass_further = collect_unrecognized(parsed.options, include_positional); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1574751&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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net