Skip to content

Commit a8ea37a

Browse files
Improve report --help documentation
1 parent 660d911 commit a8ea37a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,13 +1127,13 @@ def add_invertible_flag(
11271127
internals_group.add_argument("--export-ref-info", action="store_true", help=argparse.SUPPRESS)
11281128

11291129
report_group = parser.add_argument_group(
1130-
title="Report generation", description="Generate a report in the specified format."
1130+
title="Report generation", description="Generate a report in the specified format in the specified directory."
11311131
)
11321132
for report_type in sorted(defaults.REPORTER_NAMES):
11331133
if report_type not in {"memory-xml"}:
11341134
report_group.add_argument(
11351135
f"--{report_type.replace('_', '-')}-report",
1136-
metavar="DIR",
1136+
metavar="OUTPUT_DIR",
11371137
dest=f"special-opts:{report_type}_report",
11381138
)
11391139

0 commit comments

Comments
 (0)