Skip to content

Commit 03bc40a

Browse files
committed
[clang-tidy] align all help message in run-clang-tidy [NFC]
1 parent 22530e7 commit 03bc40a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

clang-tools-extra/clang-tidy/tool/run-clang-tidy.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,17 +264,17 @@ def main():
264264
help="allow alpha checkers from clang-analyzer.",
265265
)
266266
parser.add_argument(
267-
"-clang-tidy-binary", metavar="PATH", help="path to clang-tidy binary"
267+
"-clang-tidy-binary", metavar="PATH", help="path to clang-tidy binary."
268268
)
269269
parser.add_argument(
270270
"-clang-apply-replacements-binary",
271271
metavar="PATH",
272-
help="path to clang-apply-replacements binary",
272+
help="path to clang-apply-replacements binary.",
273273
)
274274
parser.add_argument(
275275
"-checks",
276276
default=None,
277-
help="checks filter, when not specified, use clang-tidy default",
277+
help="checks filter, when not specified, use clang-tidy default.",
278278
)
279279
config_group = parser.add_mutually_exclusive_group()
280280
config_group.add_argument(
@@ -350,16 +350,16 @@ def main():
350350
help="number of tidy instances to be run in parallel.",
351351
)
352352
parser.add_argument(
353-
"files", nargs="*", default=[".*"], help="files to be processed (regex on path)"
353+
"files", nargs="*", default=[".*"], help="files to be processed (regex on path)."
354354
)
355-
parser.add_argument("-fix", action="store_true", help="apply fix-its")
355+
parser.add_argument("-fix", action="store_true", help="apply fix-its.")
356356
parser.add_argument(
357-
"-format", action="store_true", help="Reformat code after applying fixes"
357+
"-format", action="store_true", help="Reformat code after applying fixes."
358358
)
359359
parser.add_argument(
360360
"-style",
361361
default="file",
362-
help="The style of reformat code after applying fixes",
362+
help="The style of reformat code after applying fixes.",
363363
)
364364
parser.add_argument(
365365
"-use-color",
@@ -388,7 +388,7 @@ def main():
388388
help="Additional argument to prepend to the compiler command line.",
389389
)
390390
parser.add_argument(
391-
"-quiet", action="store_true", help="Run clang-tidy in quiet mode"
391+
"-quiet", action="store_true", help="Run clang-tidy in quiet mode."
392392
)
393393
parser.add_argument(
394394
"-load",
@@ -400,7 +400,7 @@ def main():
400400
parser.add_argument(
401401
"-warnings-as-errors",
402402
default=None,
403-
help="Upgrades warnings to errors. Same format as '-checks'",
403+
help="Upgrades warnings to errors. Same format as '-checks'.",
404404
)
405405
args = parser.parse_args()
406406

0 commit comments

Comments
 (0)