mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 09:54:02 -07:00
Use self.args when we parse arguments that way the arguments can be constructed manually
This commit is contained in:
parent
a8e015cc22
commit
4d637e5780
6 changed files with 6 additions and 6 deletions
|
@ -69,7 +69,7 @@ class VaultCLI(CLI):
|
|||
elif self.action == "rekey":
|
||||
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(self.args[1:])
|
||||
display.verbosity = self.options.verbosity
|
||||
|
||||
can_output = ['encrypt', 'decrypt']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue