#533: fix command positional substitution arguments conflicting with options

This commit is contained in:
Julien Nicoulaud 2018-10-13 23:23:18 +02:00
parent 53e2c3c22d
commit 02479c2fb0
No known key found for this signature in database
GPG Key ID: D713C40AA20BF77D
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ _arguments \
'--alwayscopy[override alwayscopy setting to True in all envs]' \
'--skip-missing-interpreters[do not fail tests for missing interpreters]: :(config true false)' \
'--workdir[tox working directory]: :_files -/' \
'*:command positional substitution arguments'
'*: :_guard "^-*" command positional substitution arguments'
(( $+functions[_tox_envs_list] )) ||
_tox_envs_list() {