From e3648fbe1a78340dbcd8c17f9cd7dceeaffdf339 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 2 Sep 2013 16:39:23 +0000 Subject: Added WebKit style to the BasedOnStyle handling and to the relevant help messages. llvm-svn: 189765 --- clang/tools/clang-format/clang-format-diff.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'clang/tools/clang-format/clang-format-diff.py') diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py index bb18730b63c..89fa0521eee 100755 --- a/clang/tools/clang-format/clang-format-diff.py +++ b/clang/tools/clang-format/clang-format-diff.py @@ -82,11 +82,13 @@ def formatRange(r, style): 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 -- cgit v1.2.3