#533: fix command positional substitution arguments conflicting with options

This commit is contained in:
Julien Nicoulaud
2018-10-13 23:23:34 +02:00
parent 53e2c3c22d
commit 02479c2fb0
+1 -1
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() {