Skip to content

Commit df4cf0b

Browse files
committed
[clang-tidy] Fixes a typo in the help message.
It contained 'thewarnings' without a space. It also fixes some odd formatting in the text introduced by commit dd3c26a Author: Tobias Hieta <[email protected]> Date: Wed May 17 10:56:49 2023 +0200 [NFC][Py Reformat] Reformat python files in clang and clang-tools-extra
1 parent 23c24ed commit df4cf0b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def main():
257257
parser.add_argument(
258258
"-allow-enabling-alpha-checkers",
259259
action="store_true",
260-
help="allow alpha checkers from " "clang-analyzer.",
260+
help="allow alpha checkers from clang-analyzer.",
261261
)
262262
parser.add_argument(
263263
"-clang-tidy-binary", metavar="PATH", help="path to clang-tidy binary"
@@ -270,7 +270,7 @@ def main():
270270
parser.add_argument(
271271
"-checks",
272272
default=None,
273-
help="checks filter, when not specified, use clang-tidy " "default",
273+
help="checks filter, when not specified, use clang-tidy default",
274274
)
275275
config_group = parser.add_mutually_exclusive_group()
276276
config_group.add_argument(
@@ -303,7 +303,7 @@ def main():
303303
parser.add_argument(
304304
"-line-filter",
305305
default=None,
306-
help="List of files with line ranges to filter the" "warnings.",
306+
help="List of files with line ranges to filter the warnings.",
307307
)
308308
if yaml:
309309
parser.add_argument(
@@ -335,12 +335,12 @@ def main():
335335
)
336336
parser.add_argument("-fix", action="store_true", help="apply fix-its")
337337
parser.add_argument(
338-
"-format", action="store_true", help="Reformat code " "after applying fixes"
338+
"-format", action="store_true", help="Reformat code after applying fixes"
339339
)
340340
parser.add_argument(
341341
"-style",
342342
default="file",
343-
help="The style of reformat " "code after applying fixes",
343+
help="The style of reformat code after applying fixes",
344344
)
345345
parser.add_argument(
346346
"-use-color",
@@ -359,14 +359,14 @@ def main():
359359
dest="extra_arg",
360360
action="append",
361361
default=[],
362-
help="Additional argument to append to the compiler " "command line.",
362+
help="Additional argument to append to the compiler command line.",
363363
)
364364
parser.add_argument(
365365
"-extra-arg-before",
366366
dest="extra_arg_before",
367367
action="append",
368368
default=[],
369-
help="Additional argument to prepend to the compiler " "command line.",
369+
help="Additional argument to prepend to the compiler command line.",
370370
)
371371
parser.add_argument(
372372
"-quiet", action="store_true", help="Run clang-tidy in quiet mode"
@@ -381,7 +381,7 @@ def main():
381381
parser.add_argument(
382382
"-warnings-as-errors",
383383
default=None,
384-
help="Upgrades warnings to errors. Same format as " "'-checks'",
384+
help="Upgrades warnings to errors. Same format as '-checks'",
385385
)
386386
args = parser.parse_args()
387387

0 commit comments

Comments
 (0)