clang-format: Add clang-format-diff usage examples for SVN.
git-svn-id: svn://svn.chromium.org/llvm-project/cfe/trunk/tools/clang-format@208766 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
diff --git a/clang-format-diff.py b/clang-format-diff.py
index 376257b..d6d0d44 100755
--- a/clang-format-diff.py
+++ b/clang-format-diff.py
@@ -15,9 +15,10 @@
This script reads input from a unified diff and reformats all the changed
lines. This is useful to reformat all the lines touched by a specific patch.
-Example usage for git users:
+Example usage for git/svn users:
git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
+ svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
"""