aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxd.15
-rw-r--r--uxd.rst5
2 files changed, 6 insertions, 4 deletions
diff --git a/uxd.1 b/uxd.1
index 67c1881..ee2e88e 100644
--- a/uxd.1
+++ b/uxd.1
@@ -96,8 +96,9 @@ output. Ignored if \fB\-m\fP given.
.BI \-s \ pos
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.
+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).
.TP
.BI \-S \ pos
Same as \fB\-s\fP, but file offsets start at 0 rather than the
diff --git a/uxd.rst b/uxd.rst
index c4e06be..8a06eab 100644
--- a/uxd.rst
+++ b/uxd.rst
@@ -85,8 +85,9 @@ over the environment.
-s pos
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.
+ 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).
-S pos
Same as **-s**, but file offsets start at 0 rather than the