Subject: [Boost-bugs] [Boost C++ Libraries] #1530: Program options documentation - Overview - Syntactic Information example typo
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-20 03:42:20
#1530: Program options documentation - Overview - Syntactic Information example
typo
--------------------------------------+-------------------------------------
Reporter: chris_boost_at_[hidden] | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.34.1 | Severity: Cosmetic
Keywords: |
--------------------------------------+-------------------------------------
Program options documentation -> Overview -> Syntactic Information
In the example:
value<string>()->zero_token()
should be value<string>()->zero_tokens() with an 's'
The following description is also confusing, referring to a first, third,
and last option.
How about not only correcting position but also referring by name:
"For the first parameter (help), we specify only the name and the
description. No value can be specified in the parsed source. For the first
option (compression), the user must specify a value, using a single token.
For the second option (verbose), the user may either provide a single
token for the value, or no token at all. For the last option (email), the
value can span several tokens. For example, the following command line is
OK:"
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1530>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC