fixed missing self in self.action on rekey in vault

fixes #11584
pull/11586/head
Brian Coca 10 years ago
parent 42e355f9a3
commit 3c7faa8378

@ -58,7 +58,7 @@ class VaultCLI(CLI):
self.parser.set_usage("usage: %prog view [options] file_name")
elif self.action == "encrypt":
self.parser.set_usage("usage: %prog encrypt [options] file_name")
elif action == "rekey":
elif self.action == "rekey":
self.parser.set_usage("usage: %prog rekey [options] file_name")
self.options, self.args = self.parser.parse_args()

Loading…
Cancel
Save