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

jvergara
04.55.2007 b1aa376919f5d5adb5747be5f46703032f639c98
refs
author jvergara <jvergara@localhost>
Wednesday, July 4, 2007 15:55 +0200
committer jvergara <jvergara@localhost>
Wednesday, July 4, 2007 15:55 +0200
commitb1aa376919f5d5adb5747be5f46703032f639c98
tree ea483def8ef9017cded320e200e1901a90a5f427 tree | zip | gz
parent 16decf0b35cb59c97f4d6c1c3b5d5b3ee5f74a27 view | diff
In the case where the user asked for the usage of the setup, uninstall or upgrade CLI, we were returning an error code systematically (the error code corresponding to an error in the data provided by the user).  
With this modifications when the user asks for the usage explicitly we return an error code 0. In addition to that, when the usage is asked explicitly in the command line for the usage it is written to the standard output. When we display the usage because of an error on the data provided by the user the usage is displayed in the error output.
4 files modified
51 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Launcher.java 36 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/InstallLauncher.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallLauncher.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeLauncher.java 4 ●●●● diff | view | raw | blame | history