diff options
Diffstat (limited to 'clang')
-rwxr-xr-x | clang/tools/clang-format/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py index 68b5113d92f..bb18730b63c 100755 --- a/clang/tools/clang-format/clang-format-diff.py +++ b/clang/tools/clang-format/clang-format-diff.py @@ -83,7 +83,7 @@ def formatRange(r, style): 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)') |