aboutsummaryrefslogtreecommitdiff
path: root/uxd.1
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-17 03:08:05 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-17 03:08:05 -0500
commit4ca7a660781798fd09455e7818914b810fefdc91 (patch)
tree30b02e92d2571a62f56e2eac64e925bf69ca2347 /uxd.1
parent6b0b93bd30cb4e7a0047954a58d914b989c373a4 (diff)
downloaduxd-4ca7a660781798fd09455e7818914b810fefdc91.tar.gz
man page cleanup
Diffstat (limited to 'uxd.1')
-rw-r--r--uxd.117
1 files changed, 10 insertions, 7 deletions
diff --git a/uxd.1 b/uxd.1
index bf7f8db..35bfc4f 100644
--- a/uxd.1
+++ b/uxd.1
@@ -59,6 +59,12 @@ over the environment.
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.
+.sp
+The options that accept numbers (\fB\-l\fP, \fB\-o\fP, \fB\-s\fP, and \fB\-S\fP)
+allow decimal, hex (with \fI0x\fP prefix), or octal (with \fI0\fP prefix).
+Also, you can use the suffixes \fIk\fP, \fIm\fP, and \fIg\fP for power\-of\-2 based
+kilobytes, megabytes, or gigabytes (e.g. \fI1k\fP is 1024 bytes), as well
+as \fIK\fP, \fIM\fP, and \fIG\fP for power\-of\-10 based (e.g. \fI1K\fP is 1000 bytes).
.\" the comments are turned into the --help message by mkusage.pl.
.
.INDENT 0.0
@@ -118,8 +124,7 @@ bad sequences.
.BI \-l \ length
Stop dumping after \fIlength\fP bytes (not characters). If the limit is
reached in the middle of a multibyte character, the entire character
-will be dumped. Can be given in decimal, hex (with \fI0x\fP prefix), or
-octal (with \fI0\fP prefix). Negative \fIlength\fP doesn\(aqt make sense, and
+will be dumped. Negative \fIlength\fP doesn\(aqt make sense, and
is an error.
.UNINDENT
.\" stop dumping after <length> bytes (not characters).
@@ -146,8 +151,7 @@ bundled with other options (e.g. use \fB\-n \-u\fP, not \fB\-nu\fP).
.TP
.BI \-o \ offset
Add this amount to the hex offsets (left column). May be negative,
-if you can think of a reason to want it to be. Can be given in
-decimal, hex (with \fI0x\fP prefix), or octal (with \fI0\fP prefix).
+if you can think of a reason to want it to be.
.UNINDENT
.\" added to hex offsets (decimal, 0x hex, 0 octal).
.
@@ -165,15 +169,14 @@ output. Ignored if \fB\-m\fP given.
Seek in input before starting to dump. \fIpos\fP is bytes, not
characters. Positive \fIpos\fP means seek from the start of the
input. Negative \fIpos\fP only works on files (not standard input);
-it means seek backward from EOF. Can be given in decimal, hex (with
-\fI0x\fP prefix), or octal (with \fI0\fP prefix).
+it means seek backward from EOF.
.UNINDENT
.\" seek in input before dumping (-pos = seek back from EOF).
.
.INDENT 0.0
.TP
.BI \-S \ pos
-Same as \fB\-s\fP, but file offsets start at 0 rather than the
+Same as \fB\-s\fP, but the displayed offsets start at 0 rather than the
position after seeking. \fB\-S 100\fP is the same as \fB\-s 100 \-o \-100\fP\&.
Works with negative \fIpos\fP, too.
.UNINDENT