- Timestamp:
- Sep 5, 2010, 6:50:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/core/CommandLineParser.cc
r7335 r7357 41 41 namespace orxonox 42 42 { 43 //! @cmdarg44 43 SetCommandLineOnlyArgument(optionsFile, "start.ini").shortcut("o"); 45 44 … … 315 314 } 316 315 316 void CommandLineParser::generateDoc(std::ofstream& file) 317 { 318 file << "/** @page cmdargspage Command Line Arguments Reference" << endl; 319 file << " @verbatim"; /*no endl*/ 320 file << getUsageInformation(); /*no endl*/ 321 file << " @endverbatim" << endl; 322 file << "*/" << endl; 323 } 324 317 325 /** 318 326 @brief … … 320 328 The method throws an exception if 'name' was not found or the value could not be converted. 321 329 @note 322 You sho ld of course not call this method before the command line has been parsed.330 You should of course not call this method before the command line has been parsed. 323 331 */ 324 332 const CommandLineArgument* CommandLineParser::getArgument(const std::string& name)
Note: See TracChangeset
for help on using the changeset viewer.