aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-16 06:28:52 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-16 06:28:52 -0500
commit891295f00ff79a25822efd208cb3223bf682ace7 (patch)
tree084e45811a9661445ead4a5052486e460f7aae1a
parent8994b9d28ebe5b6c3c90330a32d8317cd7299d9b (diff)
downloaduxd-891295f00ff79a25822efd208cb3223bf682ace7.tar.gz
fix usage in man page.
-rw-r--r--uxd.14
-rw-r--r--uxd.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/uxd.1 b/uxd.1
index 6e7ac58..7a1d583 100644
--- a/uxd.1
+++ b/uxd.1
@@ -32,7 +32,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
uxd \- UTF-8 hex dumper
.SH SYNOPSIS
.sp
-uxd [\fIfile\fP | \fI\-\fP]
+uxd [\fB\-n\fP] [\fB\-c\fP \fIcolors\fP] [\fB\-l\fP \fIlength\fP] [\fB\-o\fP \fIoffset\fP] [[\fB\-s\fP | \fB\-S\fP] \fIseekpos\fP] [\-[\fBbchimnruv\fP] [\fIfile\fP | \fI\-\fP]
.SH DESCRIPTION
.sp
\fBuxd\fP is a hex dump utility that\(aqs aware of UTF\-8 multibyte sequence
@@ -56,7 +56,7 @@ These options can be used on the command line, and/or in the
\fBUXD_OPTS\fP environment variable. The command line takes precedence
over the environment.
.sp
-Options can be bundled: \fB\-ubc1234\fP is the same as \fB\-u\fP \fB\-n\fP \fB\-c
+Options can be bundled: \fB\-ubc1234\fP is the same as \fB\-u\fP \fB\-b\fP \fB\-c
1234\fP\&. The one exception is the \fB\-n\fP option, which should appear
by itself.
.\" the comments are turned into the --help message by mkusage.pl.
diff --git a/uxd.rst b/uxd.rst
index 3e5e702..2f4503a 100644
--- a/uxd.rst
+++ b/uxd.rst
@@ -18,7 +18,7 @@ UTF-8 hex dumper
SYNOPSIS
========
-uxd [*file* | *-*]
+uxd [**-n**] [**-c** *colors*] [**-l** *length*] [**-o** *offset*] [[**-s** | **-S**] *seekpos*] [-[**bchimnruv**] [*file* | *-*]
DESCRIPTION
===========
@@ -46,7 +46,7 @@ These options can be used on the command line, and/or in the
**UXD_OPTS** environment variable. The command line takes precedence
over the environment.
-Options can be bundled: **-ubc1234** is the same as **-u** **-n** **-c
+Options can be bundled: **-ubc1234** is the same as **-u** **-b** **-c
1234**. The one exception is the **-n** option, which should appear
by itself.