From 11e790094ef1193f2f1a17a12cb5b6b023601b92 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 25 May 2018 11:52:08 +0100 Subject: [PATCH] Projucer: Fix a typo in the --set-global-search-path help text and allow quoted paths --- extras/Projucer/Source/Application/jucer_CommandLine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/Projucer/Source/Application/jucer_CommandLine.cpp b/extras/Projucer/Source/Application/jucer_CommandLine.cpp index 4dfe6cfc44..a088828a8b 100644 --- a/extras/Projucer/Source/Application/jucer_CommandLine.cpp +++ b/extras/Projucer/Source/Application/jucer_CommandLine.cpp @@ -754,7 +754,7 @@ namespace if (! childToSet.isValid()) throw CommandLineError ("Failed to set the requested setting!"); - childToSet.setProperty (args[2], File::getCurrentWorkingDirectory().getChildFile (args[3]).getFullPathName(), nullptr); + childToSet.setProperty (args[2], File::getCurrentWorkingDirectory().getChildFile (args[3].unquoted()).getFullPathName(), nullptr); settingsFile.replaceWithText (settingsTree.toXmlString()); } @@ -847,7 +847,7 @@ namespace << std::endl << " " << appName << " --set-global-search-path os identifier_to_set new_path" << std::endl << " Sets the global path for a specified os and identifier. The os should be either osx, windows or linux and the identifiers can be any of the following: " - << "defaultJuceModulePath, defaultUserModulePath, vst3path, aaxPath (not valid on linux), rtasPath (not valid on linux), androidSDKPath or androidNDKPath." << std::endl + << "defaultJuceModulePath, defaultUserModulePath, vst3Path, aaxPath (not valid on linux), rtasPath (not valid on linux), androidSDKPath or androidNDKPath." << std::endl << std::endl << " " << appName << " --create-project-from-pip path/to/PIP path/to/output" << std::endl << " Generates a JUCE project from a PIP file." << std::endl