Преглед на файлове

Add an example usage for `-w 0`

Matthew Wang преди 10 години
родител
ревизия
11eb21cae6
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      README.rst

+ 2
- 1
README.rst Целия файл

@@ -85,8 +85,9 @@ from e.g. ``git diff``, ``svn diff``):
85 85
 
86 86
     cd proj-workspace
87 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 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 91
     cdiff -s file1 dir2         # view modification of given files/dirs only
91 92
     cdiff -s -w90 -- -U10       # pass '-U10' to underneath revision diff tool
92 93
     cdiff -s -w90 -U10          # '--' is optional as it's unknown to cdiff