diff options
| author | Alexander Kornienko <alexfh@google.com> | 2016-06-08 14:27:43 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2016-06-08 14:27:43 +0000 |
| commit | fb90b51e63059cafabbd5aedba533c9c9ba512b9 (patch) | |
| tree | b09d855f8ca1951606347791d7a1004ae1aef493 | |
| parent | 4838588343b5dd1939245609065af64017890fbd (diff) | |
| download | bcm5719-llvm-fb90b51e63059cafabbd5aedba533c9c9ba512b9.tar.gz bcm5719-llvm-fb90b51e63059cafabbd5aedba533c9c9ba512b9.zip | |
[clang-tidy] correct clang-tidy-diff.py help message
Summary:
Looks like the original code was copied from clang-format-diff.py.
Update help message to make it clang-tidy specific.
Reviewers: klimek, alexfh
Subscribers: Eugene.Zelenko, cfe-commits
Patch by Igor Sugak!
Differential Revision: http://reviews.llvm.org/D21050
llvm-svn: 272144
| -rwxr-xr-x | clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py b/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py index 9e407cc62b4..e3dcbe747f7 100755 --- a/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py +++ b/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py @@ -33,20 +33,20 @@ import sys def main(): parser = argparse.ArgumentParser(description= - 'Reformat changed lines in diff. Without -i ' - 'option just output the diff that would be ' - 'introduced.') + 'Run clang-tidy against changed files, and ' + 'output diagnostics only for modified ' + 'lines.') parser.add_argument('-clang-tidy-binary', metavar='PATH', default='clang-tidy', help='path to clang-tidy binary') parser.add_argument('-p', metavar='NUM', default=0, help='strip the smallest prefix containing P slashes') parser.add_argument('-regex', metavar='PATTERN', default=None, - help='custom pattern selecting file paths to reformat ' + help='custom pattern selecting file paths to check ' '(case sensitive, overrides -iregex)') parser.add_argument('-iregex', metavar='PATTERN', default= r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc)', - help='custom pattern selecting file paths to reformat ' + help='custom pattern selecting file paths to check ' '(case insensitive, overridden by -regex)') parser.add_argument('-fix', action='store_true', default=False, |

