Explorar el Código

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
Daniel Jasper hace 11 años
padre
commit
1d0132b58b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      tools/clang-format/clang-format-diff.py

+ 2 - 2
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=