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-02 07:46:22 +0200 |
commit | a1de52ab41d0b0c9d5df4163224525ce940e91a8 (patch) | |
tree | adf0d6c90dbdb2a11fc46f5d3ee75bdcecf696b9 /base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java | |
parent | d6ddbf86de31c4096ce816f9726e15e46f387f0f (diff) | |
download | pki-a1de52ab41d0b0c9d5df4163224525ce940e91a8.tar.gz pki-a1de52ab41d0b0c9d5df4163224525ce940e91a8.tar.xz pki-a1de52ab41d0b0c9d5df4163224525ce940e91a8.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/PKCS12CertFindCLI.java')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/pkcs12/PKCS12CertFindCLI.java | 4 |
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."); |