diff --git a/app/src/processing/mode/java/Commander.java b/app/src/processing/mode/java/Commander.java index fdf55848a..21c9ada04 100644 --- a/app/src/processing/mode/java/Commander.java +++ b/app/src/processing/mode/java/Commander.java @@ -147,12 +147,13 @@ public class Commander implements RunnerListener { task = EXPORT; } else if (arg.startsWith(platformArg)) { - String platformStr = arg.substring(platformArg.length()); - platform = Base.getPlatformIndex(platformStr); - if (platform == -1) { - complainAndQuit(platformStr + " should instead be " + - "'windows', 'macosx', or 'linux'.", true); - } + complainAndQuit("The --platform option has been removed from Processing 2.1.", false); +// String platformStr = arg.substring(platformArg.length()); +// platform = Base.getPlatformIndex(platformStr); +// if (platform == -1) { +// complainAndQuit(platformStr + " should instead be " + +// "'windows', 'macosx', or 'linux'.", true); +// } } else if (arg.startsWith(bitsArg)) { String bitsStr = arg.substring(bitsArg.length()); @@ -363,8 +364,8 @@ public class Commander implements RunnerListener { out.println("--present Preprocess, compile, and run a sketch full screen."); out.println(); out.println("--export Export an application."); - out.println("--platform Specify the platform (export to application only)."); - out.println(" Should be one of 'windows', 'macosx', or 'linux'."); +// out.println("--platform Specify the platform (export to application only)."); +// out.println(" Should be one of 'windows', 'macosx', or 'linux'."); out.println("--bits Must be specified if libraries are used that are"); out.println(" 32- or 64-bit specific such as the OpenGL library."); out.println(" Otherwise specify 0 or leave it out.");