瀏覽代碼

Add an example usage for `-w 0`

Matthew Wang 10 年之前
父節點
當前提交
11eb21cae6
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      README.rst

+ 2
- 1
README.rst 查看文件

85
 
85
 
86
     cd proj-workspace
86
     cd proj-workspace
87
     cdiff                       # view colored incremental diff
87
     cdiff                       # view colored incremental diff
88
-    cdiff -s                    # view side by side
88
+    cdiff -s                    # view side by side, use default text width 80
89
     cdiff -s -w 90              # use text width 90 other than default 80
89
     cdiff -s -w 90              # use text width 90 other than default 80
90
+    cdiff -s -w 0               # auto set text width based on terminal size
90
     cdiff -s file1 dir2         # view modification of given files/dirs only
91
     cdiff -s file1 dir2         # view modification of given files/dirs only
91
     cdiff -s -w90 -- -U10       # pass '-U10' to underneath revision diff tool
92
     cdiff -s -w90 -- -U10       # pass '-U10' to underneath revision diff tool
92
     cdiff -s -w90 -U10          # '--' is optional as it's unknown to cdiff
93
     cdiff -s -w90 -U10          # '--' is optional as it's unknown to cdiff