1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
char *usage_opts[] = {
" -1: don't alternate colors for normal characters.",
" -b: bold color output.",
" -c nnnnn: colors (2 to 5 digits, 0 to 7).",
" -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.",
" -o offset: added to hex offsets (decimal, 0x hex, 0 octal).",
" -r: don't highlight multi-byte chars in reverse video.",
" -s pos: seek in input before dumping (-pos = seek back from EOF).",
" -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
};
|