aboutsummaryrefslogtreecommitdiff
path: root/uxd.rst
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.rst
parent6b0b93bd30cb4e7a0047954a58d914b989c373a4 (diff)
downloaduxd-4ca7a660781798fd09455e7818914b810fefdc91.tar.gz
man page cleanup
Diffstat (limited to 'uxd.rst')
-rw-r--r--uxd.rst17
1 files changed, 10 insertions, 7 deletions
diff --git a/uxd.rst b/uxd.rst
index 57f4455..597084b 100644
--- a/uxd.rst
+++ b/uxd.rst
@@ -50,6 +50,12 @@ 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.
+The options that accept numbers (**-l**, **-o**, **-s**, and **-S**)
+allow decimal, hex (with *0x* prefix), or octal (with *0* prefix).
+Also, you can use the suffixes *k*, *m*, and *g* for power-of-2 based
+kilobytes, megabytes, or gigabytes (e.g. *1k* is 1024 bytes), as well
+as *K*, *M*, and *G* for power-of-10 based (e.g. *1K* is 1000 bytes).
+
.. the comments are turned into the --help message by mkusage.pl.
-1
@@ -95,8 +101,7 @@ by itself.
-l length
Stop dumping after *length* 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 *0x* prefix), or
- octal (with *0* prefix). Negative *length* doesn't make sense, and
+ will be dumped. Negative *length* doesn't make sense, and
is an error.
.. stop dumping after <length> bytes (not characters).
@@ -117,8 +122,7 @@ by itself.
-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 *0x* prefix), or octal (with *0* prefix).
+ if you can think of a reason to want it to be.
.. added to hex offsets (decimal, 0x hex, 0 octal).
@@ -132,13 +136,12 @@ by itself.
Seek in input before starting to dump. *pos* is bytes, not
characters. Positive *pos* means seek from the start of the
input. Negative *pos* only works on files (not standard input);
- it means seek backward from EOF. Can be given in decimal, hex (with
- *0x* prefix), or octal (with *0* prefix).
+ it means seek backward from EOF.
.. seek in input before dumping (-pos = seek back from EOF).
-S pos
- Same as **-s**, but file offsets start at 0 rather than the
+ Same as **-s**, but the displayed offsets start at 0 rather than the
position after seeking. **-S 100** is the same as **-s 100 -o -100**.
Works with negative *pos*, too.