Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62235 - trunk/boost/program_options
From: ghost_at_[hidden]
Date: 2010-05-26 05:51:11


Author: vladimir_prus
Date: 2010-05-26 05:51:10 EDT (Wed, 26 May 2010)
New Revision: 62235
URL: http://svn.boost.org/trac/boost/changeset/62235

Log:
Fix types. Closes #4069.

Text files modified:
   trunk/boost/program_options/options_description.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/program_options/options_description.hpp
==============================================================================
--- trunk/boost/program_options/options_description.hpp (original)
+++ trunk/boost/program_options/options_description.hpp 2010-05-26 05:51:10 EDT (Wed, 26 May 2010)
@@ -65,7 +65,7 @@
             The 'name' parameter is interpreted by the following rules:
             - if there's no "," character in 'name', it specifies long name
             - otherwise, the part before "," specifies long name and the part
- after -- long name.
+ after -- short name.
         */
         option_description(const char* name,
                            const value_semantic* s);
@@ -81,12 +81,12 @@
         enum match_result { no_match, full_match, approximate_match };
 
         /** Given 'option', specified in the input source,
- return 'true' is 'option' specifies *this.
+ returns 'true' if 'option' specifies *this.
         */
         match_result match(const std::string& option, bool approx,
                            bool long_ignore_case, bool short_ignore_case) const;
 
- /** Return the key that should identify the option, in
+ /** Returns the key that should identify the option, in
             particular in the variables_map class.
             The 'option' parameter is the option spelling from the
             input source.
@@ -107,7 +107,7 @@
         /// Returns the option name, formatted suitably for usage message.
         std::string format_name() const;
 
- /** Return the parameter name and properties, formatted suitably for
+ /** Returns the parameter name and properties, formatted suitably for
             usage message. */
         std::string format_parameter() const;
 
@@ -211,7 +211,7 @@
         friend BOOST_PROGRAM_OPTIONS_DECL std::ostream& operator<<(std::ostream& os,
                                              const options_description& desc);
 
- /** Output 'desc' to the specified stream, calling 'f' to output each
+ /** Outputs 'desc' to the specified stream, calling 'f' to output each
             option_description element. */
         void print(std::ostream& os) const;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk