Fix typo in new -config-file option
authorAaron Siddhartha Mondal <aaron@eomii.org>
Tue, 5 Apr 2022 20:27:56 +0000 (16:27 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 5 Apr 2022 20:28:49 +0000 (16:28 -0400)
commit04b42c99f62216263662d1033fa9b3e12c65563e
tree7bfbc512d405cdc43b8a0253d9c3ef654c545e8e
parent01055ed1d72dd74d0dcdf29d2cb734704ad673cb
Fix typo in new -config-file option

The new -config-file option introduced by 9e1f4f1 was accidentally
referenced as args.config_path on the python side. This patch renames
args.config_path to args.config_file.

To avoid confusion with python file objects, the input argument for
get_tidy_invocation has been renamed from config_path to
config_file_path.

See GitHub issue #54728 for a discussion.
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py