Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix --list all option

  • Loading branch information...
commit f7b5cdfb2faf7ef4b2ae5fb2df9598c199cb0118 1 parent 8e40db9
@cachedout cachedout authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  salt/key.py
  2. +1 −1  salt/utils/parsers.py
View
2  salt/key.py
@@ -52,6 +52,8 @@ def list_status(self, status):
'key',
self.opts
)
+ elif status.startswith('all'):
+ self.list_all()
def list_all(self):
'''
View
2  salt/utils/parsers.py
@@ -1934,7 +1934,7 @@ def process_list(self):
# Filter accepted list arguments as soon as possible
if not self.options.list:
return
- if not self.options.list.startswith(('acc', 'pre', 'un', 'rej')):
+ if not self.options.list.startswith(('acc', 'pre', 'un', 'rej', 'all')):
self.error(
'{0!r} is not a valid argument to \'--list\''.format(
self.options.list
Please sign in to comment.
Something went wrong with that request. Please try again.