summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java b/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java
index 8c6fb8845..a97933188 100644
--- a/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java
@@ -52,7 +52,7 @@ public class PKCS12CertFindCLI extends CLI {
}
public void createOptions() {
- Option option = new Option(null, "pkcs12", true, "PKCS #12 file");
+ Option option = new Option(null, "pkcs12-file", true, "PKCS #12 file");
option.setArgName("path");
options.addOption(option);
@@ -105,7 +105,7 @@ public class PKCS12CertFindCLI extends CLI {
System.exit(-1);
}
- String filename = cmd.getOptionValue("pkcs12");
+ String filename = cmd.getOptionValue("pkcs12-file");
if (filename == null) {
System.err.println("Error: Missing PKCS #12 file.");