summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/cli
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-03-17 10:59:19 +0100
committerEndi S. Dewata <edewata@redhat.com>2016-04-02 07:46:22 +0200
commita1de52ab41d0b0c9d5df4163224525ce940e91a8 (patch)
treeadf0d6c90dbdb2a11fc46f5d3ee75bdcecf696b9 /base/server/python/pki/server/cli
parentd6ddbf86de31c4096ce816f9726e15e46f387f0f (diff)
downloadpki-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')
-rw-r--r--base/server/python/pki/server/cli/ca.py24
-rw-r--r--base/server/python/pki/server/cli/kra.py12
-rw-r--r--base/server/python/pki/server/cli/ocsp.py14
-rw-r--r--base/server/python/pki/server/cli/tks.py12
-rw-r--r--base/server/python/pki/server/cli/tps.py12
5 files changed, 37 insertions, 37 deletions
diff --git a/base/server/python/pki/server/cli/ca.py b/base/server/python/pki/server/cli/ca.py
index c6da12143..ced4ffdfc 100644
--- a/base/server/python/pki/server/cli/ca.py
+++ b/base/server/python/pki/server/cli/ca.py
@@ -69,12 +69,12 @@ class CACertChainExportCLI(pki.cli.CLI):
def print_help(self):
print('Usage: pki-server ca-cert-chain-export [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):
@@ -324,12 +324,12 @@ class CAClonePrepareCLI(pki.cli.CLI):
def print_help(self):
print('Usage: pki-server ca-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):
diff --git a/base/server/python/pki/server/cli/kra.py b/base/server/python/pki/server/cli/kra.py
index ba1bf5a97..cba3e234b 100644
--- a/base/server/python/pki/server/cli/kra.py
+++ b/base/server/python/pki/server/cli/kra.py
@@ -57,12 +57,12 @@ class KRAClonePrepareCLI(pki.cli.CLI):
def print_help(self):
print('Usage: pki-server kra-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):
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':
diff --git a/base/server/python/pki/server/cli/tks.py b/base/server/python/pki/server/cli/tks.py
index 2bdfce84a..0bcf748c3 100644
--- a/base/server/python/pki/server/cli/tks.py
+++ b/base/server/python/pki/server/cli/tks.py
@@ -57,12 +57,12 @@ class TKSClonePrepareCLI(pki.cli.CLI):
def print_help(self):
print('Usage: pki-server tks-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):
diff --git a/base/server/python/pki/server/cli/tps.py b/base/server/python/pki/server/cli/tps.py
index 731b9720c..f40223ddb 100644
--- a/base/server/python/pki/server/cli/tps.py
+++ b/base/server/python/pki/server/cli/tps.py
@@ -57,12 +57,12 @@ class TPSClonePrepareCLI(pki.cli.CLI):
def print_help(self):
print('Usage: pki-server tps-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):