peterbe / hashin

Helping you write hashed entries for packages in your requirements.txt
https://www.peterbe.com/plog/hashin
MIT License
105 stars 27 forks source link

Be kinder if the package is a requirements file #104

Closed peterbe closed 5 years ago

peterbe commented 5 years ago

So many times I've typed something like this:

▶ hashin --dry-run -u requirements/default.txt
Can not combine the --update-all option with a list of packages.

when I meant to type hashin --dry-run -u -r requirements/default.txt

It reminds me of how pip deals with pip install requirements.txt and thinks requirements.txt is a package name on PyPI.