[docs] Fix wrong clang-format example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183963 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/ClangFormat.rst b/docs/ClangFormat.rst
index 8df7d24..fcbd165 100644
--- a/docs/ClangFormat.rst
+++ b/docs/ClangFormat.rst
@@ -142,7 +142,7 @@
.. 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).