Added WebKit style to the BasedOnStyle handling and to the relevant help messages.
git-svn-id: svn://svn.chromium.org/llvm-project/cfe/trunk/tools/clang-format@189765 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
diff --git a/clang-format-diff.py b/clang-format-diff.py
index bb18730..89fa052 100755
--- a/clang-format-diff.py
+++ b/clang-format-diff.py
@@ -82,11 +82,13 @@
def main():
parser = argparse.ArgumentParser(description=
- 'Reformat changed lines in diff')
+ 'Reformat changed lines in diff.')
parser.add_argument('-p', default=0,
help='strip the smallest prefix containing P slashes')
- parser.add_argument('-style',
- help='formatting style to apply (LLVM, Google, Chromium)')
+ parser.add_argument(
+ '-style',
+ help=
+ 'formatting style to apply (LLVM, Google, Chromium, Mozilla, WebKit)')
args = parser.parse_args()
filename = None