pypa/pip — pull request #1720 by Psykar (2014-04-15 02:31:53+00:00)
Title: pip uninstall with req's file fails with --commands at top of file

If you add --find-links, --allow-all-external, --allow-unverified lines at the top of a requirements file, you can no longer use it with

pip uninstall -r
as it thinks there is a syntax error.

The following fixes this... but it may not be the best fix?

Closes #1719