minor optimization

pull/16126/head
Brian Coca 9 years ago
parent 2482c687b7
commit 85f4c95843

@ -76,8 +76,7 @@ class AdHocCLI(CLI):
if len(self.args) < 1:
raise AnsibleOptionsError("Missing target hosts")
if len(self.args) > 1:
elif len(self.args) > 1:
raise AnsibleOptionsError("Extranous options or arguments")
display.verbosity = self.options.verbosity

Loading…
Cancel
Save