diff --git a/src/info/ata4/unity/cli/DisUnityCli.java b/src/info/ata4/unity/cli/DisUnityCli.java index fd571796..8f72282b 100644 --- a/src/info/ata4/unity/cli/DisUnityCli.java +++ b/src/info/ata4/unity/cli/DisUnityCli.java @@ -36,7 +36,7 @@ public class DisUnityCli { private static final Logger L = Logger.getLogger(DisUnityCli.class.getName()); private final DisUnity disunity; - private Options opts = new Options(); + private Options opts; /** * @param args the command line arguments @@ -62,6 +62,8 @@ public DisUnityCli(DisUnity disunity) { } public boolean configure(String[] args) { + opts = new Options(); + Option optHelp = new Option("h", "help", false, "Print this help."); opts.addOption(optHelp);