diff options
| author | Oliver Bestwalter <oliver@bestwalter.de> | 2017-08-05 14:30:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-05 14:30:03 +0200 |
| commit | 1a018af704632c7e47d5c685d37b4ee7c04fc563 (patch) | |
| tree | 86b31ac9619e889207508963b39d9d0c52f202a0 | |
| parent | 6889c81a4c31fedeb22af056e9f2b7e8f86f00cf (diff) | |
| parent | 3a1fbfdccfb07b52459222654603f14b7880f13b (diff) | |
| download | tox-git-1a018af704632c7e47d5c685d37b4ee7c04fc563.tar.gz | |
Merge pull request #569 from asottile/patch-1
Enable long option `--index-url` for `-i`
| -rwxr-xr-x | tox/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/config.py b/tox/config.py index d797951c..17346bcd 100755 --- a/tox/config.py +++ b/tox/config.py @@ -344,7 +344,7 @@ def tox_addoption(parser): parser.add_argument("--develop", action="store_true", dest="develop", help="install package in the venv using 'setup.py develop' via " "'pip -e .'") - parser.add_argument('-i', action="append", + parser.add_argument('-i', '--index-url', action="append", dest="indexurl", metavar="URL", help="set indexserver url (if URL is of form name=url set the " "url for the 'name' indexserver, specifically)") |
