- Timestamp:
- Jul 31, 2011, 5:15:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/CommandLineParser.cc
r8788 r8806 229 229 catch (const ArgumentException& ex) 230 230 { 231 COUT(0) << "Could not parse command line: " << ex.what() << std::endl;232 COUT(0) << CommandLineParser::getUsageInformation() << std::endl;231 orxout(user_error) << "Could not parse command line: " << ex.what() << endl; 232 orxout(user_error) << CommandLineParser::getUsageInformation() << endl; 233 233 throw GeneralException(""); 234 234 } … … 286 286 } 287 287 288 infoStr << std::endl;289 infoStr << "Usage: orxonox [options]" << std::endl;290 infoStr << "Available options:" << std::endl;288 infoStr << endl; 289 infoStr << "Usage: orxonox [options]" << endl; 290 infoStr << "Available options:" << endl; 291 291 292 292 for (std::map<std::string, CommandLineArgument*>::const_iterator it = inst.cmdLineArgs_.begin(); … … 305 305 infoStr << std::string(maxNameSize - it->second->getName().size(), ' '); 306 306 infoStr << ": " << it->second->getInformation(); 307 infoStr << std::endl;307 infoStr << endl; 308 308 } 309 309 return infoStr.str();
Note: See TracChangeset
for help on using the changeset viewer.