diff --git a/salt/key.py b/salt/key.py index 1da38ba4d1..0beaa41493 100644 --- a/salt/key.py +++ b/salt/key.py @@ -104,6 +104,13 @@ class KeyCLI(object): raise SystemExit("\nExiting on CTRL-c") if veri.lower().startswith('y'): self.key.delete_key(match) + else: + print('Deleting the following keys:') + salt.output.display_output( + matches, + 'key', + self.opts) + self.key.delete_key(match) def delete_all(self): '''