This way, it has the same default as 'patch' and also the example in the
code makes more sense as it is explicitly setting -p 1.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182923
91177308-0d34-0410-b5e6-
96231b3b80d8
def main():
parser = argparse.ArgumentParser(description=
'Reformat changed lines in diff')
- parser.add_argument('-p', default=1,
+ 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)')