summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java b/base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java
index 97a76d793..333a3daca 100644
--- a/base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/cert/CertFindCLI.java
@@ -67,8 +67,9 @@ public class CertFindCLI extends CLI {
}
if (cmd.hasOption("help")) {
+ // Display usage
printHelp();
- System.exit(1);
+ System.exit(0);
}
String fileName = null;
@@ -152,9 +153,6 @@ public class CertFindCLI extends CLI {
option.setArgName("size");
options.addOption(option);
- //help
- options.addOption(null, "help", false, "Show help options");
-
//file input
option = new Option(null, "input", true, "File containing the search constraints");
option.setArgName("file path");