Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7353 for code/branches/doc/src


Ignore:
Timestamp:
Sep 5, 2010, 2:15:47 AM (14 years ago)
Author:
rgrieder
Message:

Fixed bug. No comment…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/orxonox/Main.cc

    r7346 r7353  
    6262
    6363    //! @cmdarg
    64     SetCommandLineArgument(generateDoc, "Internal.dox")
     64    SetCommandLineSwitch(generateDoc)
    6565        .information("Generates a Doxygen file from things like SetConsoleCommand");
     66    //! @cmdarg
     67    SetCommandLineArgument(docFile, "Internal.dox")
     68        .information("Name of the doc file to be generated with --generateDoc");
    6669
    6770    /**
     
    7376        Game* game = new Game(strCmdLine);
    7477
    75         if (CommandLineParser::existsArgument("generateDoc"))
     78        if (CommandLineParser::getValue("generateDoc").getBool())
    7679        {
    7780            // Generate additional documentation written to ONE file
    7881            std::string filename;
    79             CommandLineParser::getValue("generateDoc", &filename);
     82            CommandLineParser::getValue("docFile", &filename);
    8083        }
    8184        else
Note: See TracChangeset for help on using the changeset viewer.