summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java b/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java
index d1bdbfa36..19b368765 100644
--- a/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java
@@ -51,7 +51,7 @@ public class PKCS12KeyRemoveCLI 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);
@@ -106,7 +106,7 @@ public class PKCS12KeyRemoveCLI extends CLI {
BigInteger keyID = new BigInteger(cmdArgs[0], 16);
- String filename = cmd.getOptionValue("pkcs12");
+ String filename = cmd.getOptionValue("pkcs12-file");
if (filename == null) {
System.err.println("Error: Missing PKCS #12 file.");