Changeset 1631 for trunk/yat/utility/OptionArg.h
- Timestamp:
- Nov 19, 2008, 3:57:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/OptionArg.h
r1630 r1631 59 59 \param required If true option must be found in commandline or 60 60 exception is thrown in validation 61 \param arg string to be used in help output such as ` TARGET' in61 \param arg string to be used in help output such as `=TARGET' in 62 62 `--target=TARGET'. See print3(). New in yat 0.5. 63 63 */ … … 160 160 virtual std::string print3(void) const 161 161 { 162 if (print_arg_.empty()) 163 return std::string(""); 164 return std::string("=")+print_arg_; 162 return print_arg_; 165 163 } 166 164
Note: See TracChangeset
for help on using the changeset viewer.