Changeset 7353 for code/branches/doc/src
- Timestamp:
- Sep 5, 2010, 2:15:47 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/orxonox/Main.cc
r7346 r7353 62 62 63 63 //! @cmdarg 64 SetCommandLine Argument(generateDoc, "Internal.dox")64 SetCommandLineSwitch(generateDoc) 65 65 .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"); 66 69 67 70 /** … … 73 76 Game* game = new Game(strCmdLine); 74 77 75 if (CommandLineParser:: existsArgument("generateDoc"))78 if (CommandLineParser::getValue("generateDoc").getBool()) 76 79 { 77 80 // Generate additional documentation written to ONE file 78 81 std::string filename; 79 CommandLineParser::getValue(" generateDoc", &filename);82 CommandLineParser::getValue("docFile", &filename); 80 83 } 81 84 else
Note: See TracChangeset
for help on using the changeset viewer.