Changeset 7261 in orxonox.OLD for trunk/src/lib/parser
- Timestamp:
- Mar 31, 2006, 10:19:55 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/parser/preferences/cmd_line_prefs_reader.cc
r7258 r7261 146 146 147 147 arg.longOption = longOption; 148 while ( arg.longOption.find("_") != std::string::npos ) 149 { 150 arg.longOption.replace( arg.longOption.find("_"), 1, "-" ); 151 } 148 152 arg.shortOption = shortOption; 153 if ( arg.shortOption == '_' ) 154 arg.shortOption = '\0'; 149 155 arg.value = value; 150 156 arg.help = help;
Note: See TracChangeset
for help on using the changeset viewer.