option naming fix

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@707 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent cb702d14fe
commit eb4e2d9e47
  1. 8
      jode/jode/obfuscator/Main.java

@ -80,12 +80,14 @@ public class Obfuscator {
public static int parseRenameOption(String option) {
if (option.equals("strong"))
return RENAME_STRONG;
else if (option.equals("--weak"))
else if (option.equals("weak"))
return RENAME_WEAK;
else if (option.equals("--unique"))
else if (option.equals("unique"))
return RENAME_UNIQUE;
else if (option.equals("--none"))
else if (option.equals("none"))
return RENAME_NONE;
GlobalOptions.err.println("Incorrect value for --rename option: "
+ option);
usage();
System.exit(0);
return 0;

Loading…
Cancel
Save