summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-06-14 02:12:06 +0000
committerRui Ueyama <ruiu@google.com>2013-06-14 02:12:06 +0000
commita6239aef1154669f2e40bcbf18be0b5b874d22dc (patch)
treed77fa68f854aa8a20f3c0fd0f0d41acf16959685
parent0a409cf04a275a476bbf65729aee2ca5cad1ac73 (diff)
downloadbcm5719-llvm-a6239aef1154669f2e40bcbf18be0b5b874d22dc.tar.gz
bcm5719-llvm-a6239aef1154669f2e40bcbf18be0b5b874d22dc.zip
[docs] Fix wrong clang-format example.
llvm-svn: 183963
-rw-r--r--clang/docs/ClangFormat.rst2
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).
OpenPOWER on IntegriCloud