Skip to content

Commit d81e814

Browse files
Update main.py: junit --help
Elaborate on the information given in --help for junit, to make it more correct and comprehensive.
1 parent dce8e1c commit d81e814

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
@@ -1165,12 +1165,12 @@ def add_invertible_flag(
11651165

11661166
misc_group = parser.add_argument_group(title="Miscellaneous")
11671167
misc_group.add_argument("--quickstart-file", help=argparse.SUPPRESS)
1168-
misc_group.add_argument("--junit-xml", help="Write junit.xml to the given file")
1168+
misc_group.add_argument("--junit-xml", metavar="JUNIT_XML_OUTPUT_FILE", help="Write a JUnit XML test result document with type checking results to the given file")
11691169
imports_group.add_argument(
11701170
"--junit-format",
11711171
choices=["global", "per_file"],
11721172
default="global",
1173-
help="If --junit-xml is set, specifies format. global: single test with all errors; per_file: one test entry per file with failures",
1173+
help="If --junit-xml is set, specifies format. global (default): single test with all errors; per_file: one test entry per file with failures",
11741174
)
11751175
misc_group.add_argument(
11761176
"--find-occurrences",

0 commit comments

Comments
 (0)