Skip to content

Commit 655fef3

Browse files
Split off into own PR and thus manually revert the output choices formatting
1 parent f470eac commit 655fef3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,7 @@ def add_invertible_flag(
571571
"-O",
572572
"--output",
573573
metavar="FORMAT",
574-
# The metavar overrides the default of displaying the choices,
575-
# so we have to explicitly display them.
576-
help=f"Set a custom output format (choices: {set(OUTPUT_CHOICES.keys())})",
574+
help="Set a custom output format",
577575
choices=OUTPUT_CHOICES,
578576
)
579577

0 commit comments

Comments
 (0)