summaryrefslogtreecommitdiff
path: root/tools/clang-format/clang-format-diff.py
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-12-19 10:21:37 +0000
committerDaniel Jasper <djasper@google.com>2013-12-19 10:21:37 +0000
commit1d0132b58b56ac1bdadc62e559b22dd4c4ebae73 (patch)
tree7b9290be5c042af0c05144778167c5367edaa64b /tools/clang-format/clang-format-diff.py
parent11193103c7b74c4fe00ac61d42cb1746c46107a2 (diff)
downloadclang-1d0132b58b56ac1bdadc62e559b22dd4c4ebae73.tar.gz
clang-1d0132b58b56ac1bdadc62e559b22dd4c4ebae73.tar.bz2
clang-1d0132b58b56ac1bdadc62e559b22dd4c4ebae73.tar.xz
Fix usage description of clang-format-diff.py.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format/clang-format-diff.py')
-rwxr-xr-xtools/clang-format/clang-format-diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/clang-format/clang-format-diff.py b/tools/clang-format/clang-format-diff.py
index fee16d0e7c..d575a8a7c2 100755
--- a/tools/clang-format/clang-format-diff.py
+++ b/tools/clang-format/clang-format-diff.py
@@ -45,11 +45,11 @@ def main():
help='strip the smallest prefix containing P slashes')
parser.add_argument('-regex', metavar='PATTERN', default=None,
help='custom pattern selecting file paths to reformat '
- '(case sensitive, override -iregex)')
+ '(case sensitive, overrides -iregex)')
parser.add_argument('-iregex', metavar='PATTERN', default=
r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc|js)',
help='custom pattern selecting file paths to reformat '
- '(case insensitive, override -regex)')
+ '(case insensitive, overridden by -regex)')
parser.add_argument(
'-style',
help=