r183963 - [docs] Fix wrong clang-format example.
Rui Ueyama
ruiu at google.com
Thu Jun 13 19:12:06 PDT 2013
Author: ruiu
Date: Thu Jun 13 21:12:06 2013
New Revision: 183963
URL: http://llvm.org/viewvc/llvm-project?rev=183963&view=rev
Log:
[docs] Fix wrong clang-format example.
Modified:
cfe/trunk/docs/ClangFormat.rst
Modified: cfe/trunk/docs/ClangFormat.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ClangFormat.rst?rev=183963&r1=183962&r2=183963&view=diff
==============================================================================
--- cfe/trunk/docs/ClangFormat.rst (original)
+++ cfe/trunk/docs/ClangFormat.rst Thu Jun 13 21:12:06 2013
@@ -142,7 +142,7 @@ So to reformat all the lines in the late
.. 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).
More information about the cfe-commits
mailing list