rename --bugreport to --report

This commit is contained in:
Nulano 2024-03-04 20:12:40 +01:00
parent 4dbc428434
commit 07f2b965ed
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ Thank you.
* Pillow:
```text
Please paste here the output of running `python3 -m PIL --bugreport`,
Please paste here the output of running `python3 -m PIL --report`,
or the output of the following Python code:
from PIL import features

View File

@ -4,4 +4,4 @@ import sys
from .features import pilinfo
pilinfo(supported_formats="--bugreport" not in sys.argv)
pilinfo(supported_formats="--report" not in sys.argv)

View File

@ -230,7 +230,7 @@ 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
It can also be called with ``python3 -m PIL --report`` to have
"supported_formats" set to ``False``, omitting the list of all supported image
file formats.