Opened 12 years ago

Closed 11 years ago

#749 closed Bugs (fixed)

Function name error in program_options documentation

Reported by: ei2pi Owned by: Vladimir Prus
Milestone: Component: None
Version: None Severity: Cosmetic
Keywords: Cc:


There are two typos in the second (last) code block in 
"Allowing Unknown Options".  

1. The function name collect_arguments should read 

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 = 

Change History (1)

comment:1 Changed 11 years ago by Vladimir Prus

Resolution: Nonefixed
Severity: Cosmetic
Status: assignedclosed

Fixed in CVS HEAD.

Note: See TracTickets for help on using tickets.