diff options
-rw-r--r-- | diffbas.1 | 13 | ||||
-rw-r--r-- | diffbas.rst | 5 |
2 files changed, 16 insertions, 2 deletions
@@ -47,7 +47,18 @@ the first filename is passed to \fBlistbas\fP\&. .sp By default, the output is colorized by \fBlistbas\fP\&. If you want to use \fBdiff\fP\(aqs \fB\-\-color\fP option, you should use \fB\-n\fP as a \fBlistbas\fP -option. +option. Color diffs are most useful with \fB\-u\fP (unified diff format), +so the command would look like: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +$ diffbas \-u \-\-color \-\- \-n A.BAS B.BAS +.ft P +.fi +.UNINDENT +.UNINDENT .SH EXAMPLE .INDENT 0.0 .INDENT 3.5 diff --git a/diffbas.rst b/diffbas.rst index 40e32d0..0fd94c0 100644 --- a/diffbas.rst +++ b/diffbas.rst @@ -29,7 +29,10 @@ COLOR ===== By default, the output is colorized by **listbas**. If you want to use **diff**\'s **--color** option, you should use **-n** as a **listbas** -option. +option. Color diffs are most useful with **-u** (unified diff format), +so the command would look like:: + + $ diffbas -u --color -- -n A.BAS B.BAS EXAMPLE ======= |