@@ -261,20 +261,20 @@ def main():
261
261
parser .add_argument (
262
262
"-allow-enabling-alpha-checkers" ,
263
263
action = "store_true" ,
264
- help = "allow alpha checkers from clang-analyzer." ,
264
+ help = "Allow alpha checkers from clang-analyzer." ,
265
265
)
266
266
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. "
268
268
)
269
269
parser .add_argument (
270
270
"-clang-apply-replacements-binary" ,
271
271
metavar = "PATH" ,
272
- help = "path to clang-apply-replacements binary" ,
272
+ help = "Path to clang-apply-replacements binary. " ,
273
273
)
274
274
parser .add_argument (
275
275
"-checks" ,
276
276
default = None ,
277
- help = "checks filter, when not specified, use clang-tidy default" ,
277
+ help = "Checks filter, when not specified, use clang-tidy default. " ,
278
278
)
279
279
config_group = parser .add_mutually_exclusive_group ()
280
280
config_group .add_argument (
@@ -307,7 +307,7 @@ def main():
307
307
parser .add_argument (
308
308
"-header-filter" ,
309
309
default = None ,
310
- help = "regular expression matching the names of the "
310
+ help = "Regular expression matching the names of the "
311
311
"headers to output diagnostics from. Diagnostics from "
312
312
"the main file of each translation unit are always "
313
313
"displayed." ,
@@ -347,19 +347,22 @@ def main():
347
347
"-j" ,
348
348
type = int ,
349
349
default = 0 ,
350
- help = "number of tidy instances to be run in parallel." ,
350
+ help = "Number of tidy instances to be run in parallel." ,
351
351
)
352
352
parser .add_argument (
353
- "files" , nargs = "*" , default = [".*" ], help = "files to be processed (regex on path)"
353
+ "files" ,
354
+ nargs = "*" ,
355
+ default = [".*" ],
356
+ help = "Files to be processed (regex on path)." ,
354
357
)
355
- parser .add_argument ("-fix" , action = "store_true" , help = "apply fix-its" )
358
+ parser .add_argument ("-fix" , action = "store_true" , help = "apply fix-its. " )
356
359
parser .add_argument (
357
- "-format" , action = "store_true" , help = "Reformat code after applying fixes"
360
+ "-format" , action = "store_true" , help = "Reformat code after applying fixes. "
358
361
)
359
362
parser .add_argument (
360
363
"-style" ,
361
364
default = "file" ,
362
- help = "The style of reformat code after applying fixes" ,
365
+ help = "The style of reformat code after applying fixes. " ,
363
366
)
364
367
parser .add_argument (
365
368
"-use-color" ,
@@ -388,7 +391,7 @@ def main():
388
391
help = "Additional argument to prepend to the compiler command line." ,
389
392
)
390
393
parser .add_argument (
391
- "-quiet" , action = "store_true" , help = "Run clang-tidy in quiet mode"
394
+ "-quiet" , action = "store_true" , help = "Run clang-tidy in quiet mode. "
392
395
)
393
396
parser .add_argument (
394
397
"-load" ,
@@ -400,7 +403,7 @@ def main():
400
403
parser .add_argument (
401
404
"-warnings-as-errors" ,
402
405
default = None ,
403
- help = "Upgrades warnings to errors. Same format as '-checks'" ,
406
+ help = "Upgrades warnings to errors. Same format as '-checks'. " ,
404
407
)
405
408
args = parser .parse_args ()
406
409
0 commit comments