summaryrefslogtreecommitdiff
path: root/rsa/cli.py
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2011-08-03 13:56:32 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2011-08-03 13:56:32 +0200
commit58fe9468aaeb0910e08502d6d82184e2ef8b1901 (patch)
tree132be36f986c68ab654a782eb84739d69dbba8f9 /rsa/cli.py
parentdbea213e8875d53087b5b3adf85c7004f13b05d8 (diff)
downloadrsa-git-58fe9468aaeb0910e08502d6d82184e2ef8b1901.tar.gz
More documentation about key size and OpenSSL compatibility
Diffstat (limited to 'rsa/cli.py')
-rw-r--r--rsa/cli.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsa/cli.py b/rsa/cli.py
index 91fe0d7..012c77d 100644
--- a/rsa/cli.py
+++ b/rsa/cli.py
@@ -41,7 +41,7 @@ def keygen():
'not saved if this option is not present. You can use '
'pyrsa-priv2pub to create the public key file later.')
- parser.add_option('--out', type='string',
+ parser.add_option('-o', '--out', type='string',
help='Output filename for the private key. The key is '
'written to stdout if this option is not present.')
@@ -142,10 +142,10 @@ class CryptoOperation(object):
parser = OptionParser(usage=self.usage, description=self.description)
- parser.add_option('--input', type='string', help=self.input_help)
+ parser.add_option('-i', '--input', type='string', help=self.input_help)
if self.has_output:
- parser.add_option('--output', type='string', help=self.output_help)
+ parser.add_option('-o', '--output', type='string', help=self.output_help)
parser.add_option('--keyform',
help='Key format of the %s key - default PEM' % self.keyname,