From 734994ddaf7522f9d763cacc0f7cde63b9c7188a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 23 Dec 2024 14:50:24 -0500 Subject: improve -c parsing and doc --- uxd.1 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'uxd.1') diff --git a/uxd.1 b/uxd.1 index 049d649..d891194 100644 --- a/uxd.1 +++ b/uxd.1 @@ -93,7 +93,7 @@ terminal and its color settings. Ignored if \fB\-m\fP given. .INDENT 0.0 .TP .BI \-c \ nnnnn -Set the colors to use. Must be 2 to 5 digits, from 0 to 7. These are +Set the colors to use. Must be 1 to 5 digits, from 0 to 7. These are standard ANSI colors: .INDENT 7.0 .TP @@ -125,15 +125,19 @@ white The first 2 digits are the alternating colors for normal characters, the 3rd and 4th (optional) are the alternating colors for non\-printable and space characters, and the 5th (optional) is for invalid UTF\-8 -sequences. Default: \fB23561\fP\&. This option also disables a prior \fB\-m\fP -option. +sequences. +.sp +Default colors are \fB23561\fP\&. If fewer than 5 colors are supplied, +the remaining colors keep their default values. .sp Note that the default color set doesn\(aqt include white or black: usually one of these is the terminal\(aqs background color. Also, it avoids blue, because blue text is hard to read on many terminals. +.sp +This option also disables a prior \fB\-m\fP option. .UNINDENT -.\" colors (2 to 5 digits, 0 to 7). +.\" colors (1 to 5 digits, 0 to 7). . .INDENT 0.0 .TP -- cgit v1.2.3