finally fix the command line args being passed through too much
diff --git a/platform/org.eclipse.platform/src/org/eclipse/core/launcher/Main.java b/platform/org.eclipse.platform/src/org/eclipse/core/launcher/Main.java
index 43d6672..62d6c85 100644
--- a/platform/org.eclipse.platform/src/org/eclipse/core/launcher/Main.java
+++ b/platform/org.eclipse.platform/src/org/eclipse/core/launcher/Main.java
@@ -802,6 +802,13 @@
continue;
}
+ // look for and consume the nosplash directive. This supercedes any
+ // -showsplash command that might be present.
+ if (arguments[i].equalsIgnoreCase(NOSPLASH)) {
+ splashDown = true;
+ found = true;
+ }
+
// check if this is initialization pass
if (arguments[i].equalsIgnoreCase(INITIALIZE)) {
initialize = true;
@@ -865,13 +872,6 @@
found = true;
}
- // look for and consume the nosplash directive. This supercedes any
- // -showsplash command that might be present.
- if (arguments[i - 1].equalsIgnoreCase(NOSPLASH)) {
- splashDown = true;
- found = true;
- }
-
// look for the command to use to show the splash screen
if (arguments[i - 1].equalsIgnoreCase(SHOWSPLASH)) {
showSplash = arg;