Skip to content

Commit

Permalink
Mention that --no-print-logs is deprecated in the help
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 29, 2020
1 parent 76308ba commit f816911
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/_pytest/logging.py
Expand Up @@ -190,7 +190,10 @@ def add_option_ini(option, dest, default=None, type=None, **kwargs):
const=False,
default=True,
type="bool",
help="disable printing caught logs on failed tests.",
help=(
"disable adding caught logs as report sections"
' (deprecated, use "--show-capture" instead).'
),
)
add_option_ini(
"--log-level",
Expand Down

0 comments on commit f816911

Please sign in to comment.