Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 5, 2010, 6:50:17 PM (14 years ago)
Author:
rgrieder
Message:

Changed command line arguments reference to a simple Doxygen page containing the usage information text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/libraries/core/CommandLineParser.cc

    r7335 r7357  
    4141namespace orxonox
    4242{
    43     //! @cmdarg
    4443    SetCommandLineOnlyArgument(optionsFile, "start.ini").shortcut("o");
    4544
     
    315314    }
    316315
     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
    317325    /**
    318326    @brief
     
    320328        The method throws an exception if 'name' was not found or the value could not be converted.
    321329    @note
    322         You shold 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.
    323331    */
    324332    const CommandLineArgument* CommandLineParser::getArgument(const std::string& name)
Note: See TracChangeset for help on using the changeset viewer.