mirror of https://github.com/pypa/pip
[svn r21267] fix pip freeze examples
This commit is contained in:
parent
c1c84a4c97
commit
3f95273a95
|
@ -130,7 +130,7 @@ tell you what all the exact versions are.
|
|||
|
||||
To create a new requirements file from a known working environment, use::
|
||||
|
||||
$ pip freeze -o stable-req.txt
|
||||
$ pip freeze stable-req.txt
|
||||
|
||||
This will write a listing of *all* installed libraries to ``stable-req.txt``
|
||||
with exact versions for every library. You may want to edit the file down after
|
||||
|
@ -140,7 +140,7 @@ stable starting point for constructing your requirements file.
|
|||
You can also give it an existing requirements file, and it will use that as a
|
||||
sort of template for the new file. So if you do::
|
||||
|
||||
$ pip freeze -o stable-req.txt -r devel-req.txt
|
||||
$ pip freeze stable-req.txt -r devel-req.txt
|
||||
|
||||
it will keep the packages listed in ``devel-req.txt`` in order and preserve
|
||||
comments.
|
||||
|
|
Loading…
Reference in New Issue