Added WebKit style to the BasedOnStyle handling and to the relevant help messages.
llvm-svn: 189765
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user