diff --git a/.github/ISSUE_TEMPLATE/ISSUE_REPORT.md b/.github/ISSUE_TEMPLATE/ISSUE_REPORT.md index 25768061cc4..a895c55da0d 100644 --- a/.github/ISSUE_TEMPLATE/ISSUE_REPORT.md +++ b/.github/ISSUE_TEMPLATE/ISSUE_REPORT.md @@ -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 diff --git a/src/PIL/__main__.py b/src/PIL/__main__.py index 32de33624db..043156e892d 100644 --- a/src/PIL/__main__.py +++ b/src/PIL/__main__.py @@ -4,4 +4,4 @@ from .features import pilinfo -pilinfo(supported_formats="--bugreport" not in sys.argv) +pilinfo(supported_formats="--report" not in sys.argv) diff --git a/src/PIL/features.py b/src/PIL/features.py index 15ab6aa45c5..a7384a0a0e9 100644 --- a/src/PIL/features.py +++ b/src/PIL/features.py @@ -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.