Skip to content

Commit aa13c62

Browse files
Change the warning message
1 parent 958374a commit aa13c62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/_pytest/terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def pytest_addoption(parser):
114114
)
115115
group._addoption(
116116
"--fulltrace",
117-
"--fulltrace",
117+
"--full-trace",
118118
action="store_true",
119119
default=False,
120120
help="don't cut any tracebacks (default is to cut).",
@@ -692,7 +692,7 @@ def _report_keyboardinterrupt(self):
692692
else:
693693
excrepr.reprcrash.toterminal(self._tw)
694694
self._tw.line(
695-
"(to show a full traceback on KeyboardInterrupt use --fulltrace)",
695+
"(to show a full traceback on KeyboardInterrupt use --full-trace)",
696696
yellow=True,
697697
)
698698

testing/test_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_interrupt_me():
233233
)
234234
else:
235235
result.stdout.fnmatch_lines(
236-
["(to show a full traceback on KeyboardInterrupt use --fulltrace)"]
236+
["(to show a full traceback on KeyboardInterrupt use --full-trace)"]
237237
)
238238
result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
239239

0 commit comments

Comments
 (0)