diff --git a/src/Platform/magnum-info.cpp b/src/Platform/magnum-info.cpp index 0bb1e4990..166f25d87 100644 --- a/src/Platform/magnum-info.cpp +++ b/src/Platform/magnum-info.cpp @@ -49,8 +49,15 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat Utility::Arguments args; args.addBooleanOption("all-extensions") .setHelp("all-extensions", "show extensions also for fully supported versions") - .setHelp("Displays information about Magnum engine and OpenGL capabilities.") - .parse(arguments.argc, arguments.argv); + .setHelp("Displays information about Magnum engine and OpenGL capabilities."); + + /** + * @todo Make this work in NaCl, somehow the arguments aren't passed to + * constructor but to Init() or whatnot + */ + #ifndef CORRADE_TARGET_NACL + args.parse(arguments.argc, arguments.argv); + #endif /* Create context after parsing arguments, so the help can be displayed without creating context */