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

jvergara
29.39.2007 46ef6cfa697527450ffcbb66441dcf358b85ae88
Fix for issue 2634.

If the usage was already displayed, return in the launch function.
1 files modified
4 ■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/SetupLauncher.java 4 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/SetupLauncher.java
@@ -134,7 +134,9 @@
      {
        System.exit(ReturnCode.PRINT_VERSION.getReturnCode());
      }
      else if (argParser.isUsageArgumentPresent())
      // The second condition is required when the user specifies '?'
      else if (argParser.isUsageArgumentPresent() ||
          argParser.usageOrVersionDisplayed())
      {
        System.exit(ReturnCode.SUCCESSFUL.getReturnCode());
      }