mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -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
|
@ -72,7 +72,7 @@ class PlaybookCLI(CLI):
|
|||
parser.add_option('--start-at-task', dest='start_at_task',
|
||||
help="start the playbook at the task matching this name")
|
||||
|
||||
self.options, self.args = parser.parse_args()
|
||||
self.options, self.args = parser.parse_args(self.args[1:])
|
||||
|
||||
|
||||
self.parser = parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue