Add print options to the saltkey cli

This commit is contained in:
Thomas S Hatch 2011-04-12 12:35:57 -06:00
parent ddad0a4b88
commit 753cc02789

View File

@ -301,6 +301,18 @@ class SaltKey(object):
action='store_true',
help='Accept all pending keys')
parser.add_option('-p',
'--print',
dest='print',
default='',
help='Print the specified public key')
parser.add_option('-P',
'--print-all',
dest='print_all',
default='',
help='Print all public keys')
parser.add_option('-c',
'--config',
dest='config',