diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-03-17 10:59:19 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-04-05 22:45:50 +0200 |
commit | 8267e90f65c427ce30518edcc1889b535c32da83 (patch) | |
tree | a562c8e8dd2507a673dda0f20b7a82c3d329586d /base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12KeyRemoveCLI.java | |
parent | 72a71cf51e1486532e8dc4f646c51eda0479734d (diff) | |
download | pki-8267e90f65c427ce30518edcc1889b535c32da83.tar.gz pki-8267e90f65c427ce30518edcc1889b535c32da83.tar.xz pki-8267e90f65c427ce30518edcc1889b535c32da83.zip |
Renamed PKCS #12 options for consistency.
The pki CLI's --pkcs12 options has been renamed to --pkcs12-file
for consistency with pki-server CLI options.
https://fedorahosted.org/pki/ticket/1742
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.java | 4 |
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."); |