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/server/python/pki/server/cli/ocsp.py | |
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/server/python/pki/server/cli/ocsp.py')
-rw-r--r-- | base/server/python/pki/server/cli/ocsp.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/server/python/pki/server/cli/ocsp.py b/base/server/python/pki/server/cli/ocsp.py index 45d7fca83..c32e8ded6 100644 --- a/base/server/python/pki/server/cli/ocsp.py +++ b/base/server/python/pki/server/cli/ocsp.py @@ -57,12 +57,12 @@ class OCSPClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server ocsp-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): @@ -85,7 +85,7 @@ class OCSPClonePrepareCLI(pki.cli.CLI): if o in ('-i', '--instance'): instance_name = a - elif o == '--pkcs12': + elif o == '--pkcs12-file': pkcs12_file = a elif o == '--pkcs12-password': |