aboutsummaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-27 22:40:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-27 22:40:30 +0200
commit1f4447b2d439e6f11d95746bb5f611c353305859 (patch)
tree0f47681009046a12ee050b989b838c68493a6a2e /archival/unzip.c
parent700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff)
downloadbusybox-1f4447b2d439e6f11d95746bb5f611c353305859.tar.gz
move help text from include/usage.src.h to archival/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/unzip.c')
-rw-r--r--archival/unzip.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index 5d62c08cb..52b0a6414 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -19,6 +19,19 @@
* Zip64 + other methods
*/
+//usage:#define unzip_trivial_usage
+//usage: "[-opts[modifiers]] FILE[.zip] [LIST] [-x XLIST] [-d DIR]"
+//usage:#define unzip_full_usage "\n\n"
+//usage: "Extract files from ZIP archives\n"
+//usage: "\nOptions:"
+//usage: "\n -l List archive contents (with -q for short form)"
+//usage: "\n -n Never overwrite files (default)"
+//usage: "\n -o Overwrite"
+//usage: "\n -p Send output to stdout"
+//usage: "\n -q Quiet"
+//usage: "\n -x XLST Exclude these files"
+//usage: "\n -d DIR Extract files into DIR"
+
#include "libbb.h"
#include "archive.h"