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 = 

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Vladimir Prus

Resolution: Nonefixed
Severity: Cosmetic
Status: assignedclosed

Fixed in CVS HEAD.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Vladimir Prus.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.