diff options
| author | B. Watson <urchlay@slackware.uk> | 2024-07-13 01:46:45 -0400 | 
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2024-07-13 01:46:45 -0400 | 
| commit | 0c48d54030c785cdbee875fd42a09f4f761e63a8 (patch) | |
| tree | b8f353cbe0e36b27a54cb2a669a2330af6ce49e8 | |
| parent | d9694442ed87027d280012c74f0f105c8d07db0c (diff) | |
| download | bw-atari8-tools-0c48d54030c785cdbee875fd42a09f4f761e63a8.tar.gz | |
diffbas: tweak doc.
| -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  ======= | 
