浏览代码

Add documentation for "--log" option

Steven Myint 12 年前
父节点
当前提交
7e0bca2820
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      README.rst

+ 7
- 0
README.rst 查看文件

@@ -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