handle --classpath option, to unify the names

git-svn-id: https://svn.code.sf.net/p/jode/code/branches/stable@1051 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 2d2c71bdb9
commit 4ae713d9a6
  1. 2
      jode/jode/swingui/Main.java.in

@ -266,7 +266,7 @@ public class Main
String cp = System.getProperty("java.class.path", ""); String cp = System.getProperty("java.class.path", "");
cp = cp.replace(File.pathSeparatorChar, SearchPath.pathSeparatorChar); cp = cp.replace(File.pathSeparatorChar, SearchPath.pathSeparatorChar);
for (int i=0; i<params.length; i++) { for (int i=0; i<params.length; i++) {
if (params[i].equals("--cp")) if (params[i].equals("--classpath"))
cp = params[++i]; cp = params[++i];
else else
return; return;

Loading…
Cancel
Save