Changeset 7246 in orxonox.OLD for branches/preferences/src
- Timestamp:
- Mar 24, 2006, 5:15:23 PM (19 years ago)
- Location:
- branches/preferences/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/parser/cmdline_parser/cmdline_parser.cc
r7243 r7246 71 71 ar.erase( 0, ar.find("=")+1); 72 72 73 PRINTF(0)("'%s' '%s'\n", op.c_str(), ar.c_str());73 //PRINTF(0)("'%s' '%s'\n", op.c_str(), ar.c_str()); 74 74 args.push_back( op ); 75 75 args.push_back( ar ); … … 146 146 std::string lo = entry.longOption; 147 147 lo.erase( lo.length()-1, 1 ); 148 PRINTF(0)("%s %s\n", arg.c_str(), lo.c_str());148 //PRINTF(0)("%s %s\n", arg.c_str(), lo.c_str()); 149 149 return arg.find( lo ) == 0; 150 150 } -
branches/preferences/src/orxonox.cc
r7243 r7246 59 59 #include "state.h" 60 60 #include "lib/parser/preferences/cmd_line_prefs_reader.h" 61 #include "lib/parser/preferences/ini_file_prefs_reader.h" 61 62 #include <string.h> 62 63 … … 404 405 { 405 406 CmdLinePrefsReader prefs; 407 408 IniFilePrefsReader ini(ResourceManager::homeDirCheck(DEFAULT_CONFIG_FILE)); 409 406 410 prefs.parse(argc, argv); 407 408 // assert(false); 411 412 Preferences::getInstance()->debug(); 413 414 assert(false); 409 415 410 416 int i;
Note: See TracChangeset
for help on using the changeset viewer.