Document --bugreport

This commit is contained in:
Andrew Murray 2024-03-02 16:55:21 +11:00 committed by Ondrej Baranovič
parent 01fdf2ff51
commit 970c691fa2

View File

@ -230,6 +230,9 @@ def pilinfo(out=None, supported_formats=True):
"""
Prints information about this installation of Pillow.
This function can be called with ``python3 -m PIL``.
It can also be called with ``python3 -m PIL --bugreport`` to have
"supported_formats" set to ``False``, omitting the list of all supported image
file formats.
:param out:
The output stream to print to. Defaults to ``sys.stdout`` if ``None``.