aboutsummaryrefslogtreecommitdiff
path: root/usage.c
blob: ae9a7543cc50ad8fcce967d90e0446ebd5aca5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
char *usage_opts[] = {
	"  -1: don't alternate colors for normal characters.",
	"  -b: bold color output.",
	"  -c nnnn: colors (2 to 4 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.",
	"  -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: 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.",
	(char *)0
};