From d0b8532b703ef515b89eb8f34c0402262f3d3f7e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 18 Dec 2024 07:05:01 -0500 Subject: add -j/-p/-w options. --- usage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usage.c') 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 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 }; -- cgit v1.2.3