Merge pull request #5517 from keanemind/master

Document the output format of pip show
This commit is contained in:
Paul Moore 2018-06-19 21:15:54 +01:00 committed by GitHub
commit 6f808d743f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

1
news/5261.doc Normal file
View File

@ -0,0 +1 @@
Clarify that the output of pip show is in RFC-compliant mail header format for people who want to parse the ouput.

View File

@ -14,7 +14,11 @@ logger = logging.getLogger(__name__)
class ShowCommand(Command):
"""Show information about one or more installed packages."""
"""
Show information about one or more installed packages.
The output is in RFC-compliant mail header format.
"""
name = 'show'
usage = """
%prog [options] <package> ..."""