From 5ae19d0ae6a4492c51a015c94279d82cf31d660f Mon Sep 17 00:00:00 2001 From: Ziad Kermadi Date: Thu, 26 Oct 2023 17:30:36 +0200 Subject: [PATCH] fix issue #11507 - part1 --- changelog/11507.doc.rst | 1 + doc/en/how-to/output.rst | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog/11507.doc.rst diff --git a/changelog/11507.doc.rst b/changelog/11507.doc.rst new file mode 100644 index 000000000..395b7d325 --- /dev/null +++ b/changelog/11507.doc.rst @@ -0,0 +1 @@ +Added documentation lines for command line options -q (--quiet ). diff --git a/doc/en/how-to/output.rst b/doc/en/how-to/output.rst index cf72a2d29..fdb69693e 100644 --- a/doc/en/how-to/output.rst +++ b/doc/en/how-to/output.rst @@ -15,6 +15,8 @@ Examples for modifying traceback printing: pytest --showlocals # show local variables in tracebacks pytest -l # show local variables (shortcut) pytest --no-showlocals # hide local variables (if addopts enables them) + pytest --quiet # quiet - less verbose - mode + pytest -q # quiet - less verbose - mode (shortcut) pytest --tb=auto # (default) 'long' tracebacks for the first and last # entry, but 'short' style for the other entries