Changeset 986 for trunk/yat/utility/Option.cc
- Timestamp:
- Oct 22, 2007, 8:17:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/Option.cc
r980 r986 101 101 std::string Option::print1(void) const 102 102 { 103 if (short_name()) 104 return std::string("-")+short_name()+std::string(","); 105 return std::string(" "); 103 std::string str; 104 if (short_name()){ 105 str = std::string("-")+short_name(); 106 if (!long_name().empty()) 107 str += std::string(","); 108 } 109 else 110 str = std::string(" "); 111 return str; 106 112 } 107 113
Note: See TracChangeset
for help on using the changeset viewer.