aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/usage.c b/usage.c
new file mode 100644
index 0000000..6664916
--- /dev/null
+++ b/usage.c
@@ -0,0 +1,16 @@
+char *usage_opts[] = {
+ " -b: bold color output.",
+ " -c nnnn: colors (2 to 4 digits, 0 to 7).",
+ " -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
+};