aboutsummaryrefslogtreecommitdiff
path: root/src/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usage.c')
-rw-r--r--src/usage.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usage.c b/src/usage.c
new file mode 100644
index 0000000..d3d1e25
--- /dev/null
+++ b/src/usage.c
@@ -0,0 +1,16 @@
+const char *usage_msg[] = {
+ " -a: convert EOLs in text files.",
+ " -aa: convert EOLs in ALL files.",
+ " -d output-dir: set output directory (created if needed).",
+ " -e: extract files (redundant; this is the default action).",
+ " -k: keep trailing periods (dots) in filenames.",
+ " -l: list files in archive (filenames only).",
+ " -L: use lowercase filenames.",
+ " -o: overwrite files (do not create file~ backups).",
+ " -p: extract to stdout (enables -q).",
+ " -q: quiet: don't print filenames during extraction.",
+ " -t: test archive.",
+ " -v: verbose listing of archive contents.",
+ " -x wildcard: exclude <wildcard>. may be given multiple times.",
+ (const char*)0
+};