From 0c48d54030c785cdbee875fd42a09f4f761e63a8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 13 Jul 2024 01:46:45 -0400 Subject: diffbas: tweak doc. --- diffbas.1 | 13 ++++++++++++- diffbas.rst | 5 ++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/diffbas.1 b/diffbas.1 index 474bc28..d04563c 100644 --- a/diffbas.1 +++ b/diffbas.1 @@ -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 ======= -- cgit v1.2.3