Commit 3c7faa83 by Brian Coca

fixed missing self in self.action on rekey in vault

fixes #11584
parent 42e355f9
...@@ -58,7 +58,7 @@ class VaultCLI(CLI): ...@@ -58,7 +58,7 @@ class VaultCLI(CLI):
self.parser.set_usage("usage: %prog view [options] file_name") self.parser.set_usage("usage: %prog view [options] file_name")
elif self.action == "encrypt": elif self.action == "encrypt":
self.parser.set_usage("usage: %prog encrypt [options] file_name") 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.parser.set_usage("usage: %prog rekey [options] file_name")
self.options, self.args = self.parser.parse_args() self.options, self.args = self.parser.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment