1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Projucer: Added a check for unknown command line arguments

This commit is contained in:
Tom Poole 2018-07-03 12:07:02 +01:00
parent 95a3f0b039
commit 0b442c3036

View file

@ -892,6 +892,8 @@ int performCommandLine (const String& commandLine)
if (matchArgument (command, "trans-finish")) { createFinishedTranslationFile (args); return 0; }
if (matchArgument (command, "set-global-search-path")) { setGlobalPath (args); return 0; }
if (matchArgument (command, "create-project-from-pip")) { createProjectFromPIP (args); return 0; }
if (command.startsWith ("-")) { throw CommandLineError ("Unrecognised command: " + command.quoted()); }
}
catch (const CommandLineError& error)
{