Added WebKit style to the BasedOnStyle handling and to the relevant help messages.

llvm-svn: 189765
This commit is contained in:
Alexander Kornienko
2013-09-02 16:39:23 +00:00
parent 815c635cec
commit e3648fbe1a
4 changed files with 12 additions and 8 deletions

View File

@@ -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