mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add print options to the saltkey cli
This commit is contained in:
parent
ddad0a4b88
commit
753cc02789
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user