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:
parent
95a3f0b039
commit
0b442c3036
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue