1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed missing self in self.action on rekey in vault

fixes #11584
This commit is contained in:
Brian Coca 2015-07-14 10:10:03 -04:00
parent 42e355f9a3
commit 3c7faa8378

View file

@ -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()