aboutsummaryrefslogtreecommitdiff
path: root/uxd.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-23 14:50:24 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-23 14:50:24 -0500
commit734994ddaf7522f9d763cacc0f7cde63b9c7188a (patch)
treec2a8f3b5dc57d58c7a2765fdc9ac16606b6d7629 /uxd.rst
parente7d59f1e6ef99573b7432dbbeab25da6d7289c4b (diff)
downloaduxd-734994ddaf7522f9d763cacc0f7cde63b9c7188a.tar.gz
improve -c parsing and doc
Diffstat (limited to 'uxd.rst')
-rw-r--r--uxd.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/uxd.rst b/uxd.rst
index eddbd4f..5ef598b 100644
--- a/uxd.rst
+++ b/uxd.rst
@@ -76,7 +76,7 @@ as *K*, *M*, and *G* for power-of-10 based (e.g. *1K* is 1000 bytes).
.. bold color output.
-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:
0
@@ -106,15 +106,19 @@ as *K*, *M*, and *G* for power-of-10 based (e.g. *1K* is 1000 bytes).
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: **23561**. This option also disables a prior **-m**
- option.
+ sequences.
+
+ Default colors are **23561**. If fewer than 5 colors are supplied,
+ the remaining colors keep their default values.
Note that the default color set doesn't include white or black:
usually one of these is the terminal's background
color. Also, it avoids blue, because blue text is hard to read on
many terminals.
-.. colors (2 to 5 digits, 0 to 7).
+ This option also disables a prior **-m** option.
+
+.. colors (1 to 5 digits, 0 to 7).
-d data
Dump this data, instead of reading from a file or stdin. If *data*