aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-18 07:05:01 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-18 07:05:01 -0500
commitd0b8532b703ef515b89eb8f34c0402262f3d3f7e (patch)
tree58ad6115dbf5ce685823aaf082558418be32c995 /usage.c
parentc6ed5c95a56e55a2bb33c9dca819ddf377f05575 (diff)
downloaduxd-d0b8532b703ef515b89eb8f34c0402262f3d3f7e.tar.gz
add -j/-p/-w options.
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usage.c b/usage.c
index ae9a754..a957552 100644
--- a/usage.c
+++ b/usage.c
@@ -5,6 +5,7 @@ char *usage_opts[] = {
" -d data: dump this data instead of a file.",
" -h, --help: print this help message.",
" -i: print number of bytes/chars/ascii/multibyte/bad sequences.",
+ " -j: java (MUTF-8) mode: allow 0xc0 0x80 for U+0000.",
" -l length: stop dumping after <length> bytes (not characters).",
" -m: monochrome mode.",
" -n: ignore UXD_OPTS environment variable.",
@@ -14,5 +15,6 @@ char *usage_opts[] = {
" -S pos: like -s, but also sets -o so addresses start at 0.",
" -u: uppercase hex digits.",
" -v, --version: print version of uxd.",
+ " -w: WTF-8 mode (allow surrogates).",
(char *)0
};