Skip to content

Commit e7a355d

Browse files
committed
fix: add missing --tb option for compatibility with existing scripts
1 parent e05d478 commit e7a355d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mypy/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,9 @@ def add_invertible_flag(
11241124
help="Show traceback on fatal error",
11251125
group=internals_group,
11261126
)
1127+
internals_group.add_argument(
1128+
"--tb", dest="show_traceback", action="store_true", help=argparse.SUPPRESS
1129+
)
11271130
internals_group.add_argument(
11281131
"--raise-exceptions", action="store_true", help="Raise exception on fatal error"
11291132
)

0 commit comments

Comments
 (0)