Ticket #4069: ticket4069.patch
File ticket4069.patch, 2.1 KB (added by , 13 years ago) |
---|
-
options_description.hpp
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 -- longname.68 after -- short name. 69 69 */ 70 70 option_description(const char* name, 71 71 const value_semantic* s); … … 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, in89 /** 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 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 for110 /** Returns the parameter name and properties, formatted suitably for 111 111 usage message. */ 112 112 std::string format_parameter() const; 113 113 … … 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 each214 /** 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