| | |
| | | import java.io.File; |
| | | import java.util.logging.Logger; |
| | | |
| | | import org.opends.quicksetup.ApplicationReturnCode; |
| | | import org.opends.quicksetup.ReturnCode; |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.quicksetup.QuickSetupLog; |
| | | import org.opends.quicksetup.util.Utils; |
| | |
| | | { |
| | | printVersion(); |
| | | } |
| | | System.exit(ApplicationReturnCode.ReturnCode.PRINT_VERSION |
| | | .getReturnCode()); |
| | | System.exit(ReturnCode.PRINT_VERSION.getReturnCode()); |
| | | } |
| | | else if (shouldPrintUsage()) { |
| | | if (!argParser.usageOrVersionDisplayed()) |
| | | { |
| | | printUsage(false); |
| | | } |
| | | System.exit(ApplicationReturnCode.ReturnCode.SUCCESSFUL.getReturnCode()); |
| | | System.exit(ReturnCode.SUCCESSFUL.getReturnCode()); |
| | | } else { |
| | | willLaunchGui(); |
| | | int exitCode = launchGui(args); |