From 02479c2fb02711f9c13a1f4acb6774db06fa7759 Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sat, 13 Oct 2018 23:23:18 +0200 Subject: [PATCH] #533: fix command positional substitution arguments conflicting with options --- src/_tox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_tox b/src/_tox index 87be462..4982e99 100644 --- a/src/_tox +++ b/src/_tox @@ -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() {