mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
19.40.2007 ad045ba9e4d87449a7d1af1f4ba3db5e1951c6fa
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Launcher.java
@@ -31,6 +31,7 @@
import org.opends.server.util.args.ArgumentParser;
import static org.opends.messages.QuickSetupMessages.*;
import static org.opends.server.tools.ToolConstants.*;
import static org.opends.server.util.DynamicConstants.PRINTABLE_VERSION_STRING;
import org.opends.quicksetup.util.Utils;
@@ -171,7 +172,8 @@
  protected boolean isCli() {
    boolean isCli = false;
    for (String arg : args) {
      if (arg.equalsIgnoreCase("--cli") || arg.equalsIgnoreCase("-c")) {
      if (arg.equalsIgnoreCase("--"+OPTION_LONG_CLI) ||
          arg.equalsIgnoreCase("-"+OPTION_SHORT_CLI)) {
        isCli = true;
        break;
      }