Skip to content

Commit

Permalink
Merge pull request #4907 from milo-minderbinder/bugfix/requirements-f…
Browse files Browse the repository at this point in the history
…ile-options

disallow abbreviated forms of full option names
  • Loading branch information
frostming committed Jan 6, 2022
2 parents 3ab4763 + d535301 commit b0ebaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/utils.py
Expand Up @@ -2053,7 +2053,7 @@ def parse_indexes(line, strict=False):

comment_re = re.compile(r"(?:^|\s+)#.*$")
line = comment_re.sub("", line)
parser = ArgumentParser("indexes")
parser = ArgumentParser("indexes", allow_abbrev=False)
parser.add_argument("-i", "--index-url", dest="index")
parser.add_argument("--extra-index-url", dest="extra_index")
parser.add_argument("--trusted-host", dest="trusted_host")
Expand Down

0 comments on commit b0ebaf0

Please sign in to comment.