Changeset 3246 for code/branches/core4/src/core/Core.cc
- Timestamp:
- Jun 29, 2009, 1:43:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/Core.cc
r3214 r3246 88 88 89 89 SetCommandLineArgument(mediaPath, "").information("PATH"); 90 SetCommandLine Argument(writingPathSuffix, "").information("DIR");90 SetCommandLineOnlyArgument(writingPathSuffix, "").information("DIR"); 91 91 SetCommandLineArgument(settingsFile, "orxonox.ini"); 92 92 SetCommandLineArgument(limitToCPU, 0).information("0: off | #cpu"); … … 103 103 { 104 104 // Parse command line arguments fist 105 try 106 { 107 CommandLine::parseAll(argc, argv); 108 } 109 catch (ArgumentException& ex) 110 { 111 COUT(1) << ex.what() << std::endl; 112 COUT(0) << "Usage:" << std::endl << "orxonox " << CommandLine::getUsageInformation() << std::endl; 113 } 105 CommandLine::parseCommandLine(argc, argv); 114 106 115 107 // limit the main thread to the first core so that QueryPerformanceCounter doesn't jump … … 137 129 // Set the correct log path. Before this call, /tmp (Unix) or %TEMP% was used 138 130 OutputHandler::getOutStream().setLogPath(Core::getLogPathString()); 131 132 CommandLine::parseFile(); 139 133 140 134 // Manage ini files and set the default settings file (usually orxonox.ini)
Note: See TracChangeset
for help on using the changeset viewer.