diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/docs/ClangFormat.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst index 8df7d24c9b0..fcbd1658657 100644 --- a/clang/docs/ClangFormat.rst +++ b/clang/docs/ClangFormat.rst @@ -142,7 +142,7 @@ So to reformat all the lines in the latest :program:`git` commit, just do: .. code-block:: console - git diff -U0 HEAD^ | clang-format-diff.py + git diff -U0 HEAD^ | clang-format-diff.py -p1 The :option:`-U0` will create a diff without context lines (the script would format those as well). |