Updated Ghoul

- Adapted to CommandlineParser changes
This commit is contained in:
Alexander Bock
2016-08-19 16:42:19 +02:00
parent ea6d8d683b
commit adf02bd5f6
2 changed files with 4 additions and 2 deletions

View File

@@ -234,8 +234,10 @@ bool OpenSpaceEngine::create(int argc, char** argv,
return false;
// Parse commandline arguments
std::vector<std::string> args(argv, argv + argc);
std::shared_ptr<const std::vector<std::string>> arguments =
_engine->_commandlineParser->setCommandLine(argc, argv);
_engine->_commandlineParser->setCommandLine(args);
bool showHelp = _engine->_commandlineParser->execute();
if (showHelp) {
_engine->_commandlineParser->displayHelp();