Browse Source

Add documentation for "--log" option

Steven Myint 11 years ago
parent
commit
7e0bca2820
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      README.rst

+ 7
- 0
README.rst View File

@@ -77,6 +77,13 @@ Read diff from local modification in a svn, git, or hg workspace:
77 77
     cdiff -s                # view side by side
78 78
     cdiff -s -w 90          # use text width 90 other than default 80
79 79
 
80
+Read the log (e.g. ``git log -p``) in a svn, git, or hg workspace:
81
+
82
+.. code:: sh
83
+
84
+    cd proj-workspace
85
+    cdiff -l
86
+
80 87
 Pipe in a diff:
81 88
 
82 89
 .. code:: sh