@@ -65,7 +65,7 @@ namespace program_options {
65
65
The 'name' parameter is interpreted by the following rules:
66
66
- if there's no "," character in 'name', it specifies long name
67
67
- otherwise, the part before "," specifies long name and the part
68
- after -- long name.
68
+ after -- short name.
69
69
*/
70
70
option_description (const char * name,
71
71
const value_semantic* s);
@@ -81,12 +81,12 @@ namespace program_options {
81
81
enum match_result { no_match, full_match, approximate_match };
82
82
83
83
/* * Given 'option', specified in the input source,
84
- return 'true' is 'option' specifies *this.
84
+ returns 'true' if 'option' specifies *this.
85
85
*/
86
86
match_result match (const std::string& option, bool approx,
87
87
bool long_ignore_case, bool short_ignore_case) const ;
88
88
89
- /* * Return the key that should identify the option, in
89
+ /* * Returns the key that should identify the option, in
90
90
particular in the variables_map class.
91
91
The 'option' parameter is the option spelling from the
92
92
input source.
@@ -107,7 +107,7 @@ namespace program_options {
107
107
// / Returns the option name, formatted suitably for usage message.
108
108
std::string format_name () const ;
109
109
110
- /* * Return the parameter name and properties, formatted suitably for
110
+ /* * Returns the parameter name and properties, formatted suitably for
111
111
usage message. */
112
112
std::string format_parameter () const ;
113
113
@@ -211,7 +211,7 @@ namespace program_options {
211
211
friend BOOST_PROGRAM_OPTIONS_DECL std::ostream& operator <<(std::ostream& os,
212
212
const options_description& desc);
213
213
214
- /* * Output 'desc' to the specified stream, calling 'f' to output each
214
+ /* * Outputs 'desc' to the specified stream, calling 'f' to output each
215
215
option_description element. */
216
216
void print (std::ostream& os) const ;
217
217
0 commit comments