From a6239aef1154669f2e40bcbf18be0b5b874d22dc Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 14 Jun 2013 02:12:06 +0000 Subject: [docs] Fix wrong clang-format example. llvm-svn: 183963 --- clang/docs/ClangFormat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/docs/ClangFormat.rst') 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). -- cgit v1.2.3