Skip to content

Commit

Permalink
[docs] Fix wrong clang-format example.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183963 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rui314 committed Jun 14, 2013
1 parent 162579a commit 0b588cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ClangFormat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 0b588cd

Please sign in to comment.