summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-29 12:01:51 +0000
committerDenis Vlasenko2009-04-29 12:01:51 +0000
commit052ad9a56883a56742cec1afc6c1c8dfff222495 (patch)
treec06321623bd51c725b559f3e91d1a9b736a26646 /include
parentc8653f62f2203d0377933c1b5f0442666e27f91a (diff)
downloadbusybox-052ad9a56883a56742cec1afc6c1c8dfff222495.zip
busybox-052ad9a56883a56742cec1afc6c1c8dfff222495.tar.gz
lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h25
2 files changed, 28 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index a41f75e..359440d 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -242,6 +242,8 @@ IF_LSATTR(APPLET(lsattr, _BB_DIR_BIN, _BB_SUID_NEVER))
IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_NEVER))
IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_NEVER, modprobe))
IF_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_NEVER, lzmacat))
+IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_NEVER))
+IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_NEVER, lzopcat))
IF_MAKEDEVS(APPLET(makedevs, _BB_DIR_SBIN, _BB_SUID_NEVER))
IF_MAKEMIME(APPLET(makemime, _BB_DIR_BIN, _BB_SUID_NEVER))
IF_MAN(APPLET(man, _BB_DIR_SBIN, _BB_SUID_NEVER))
@@ -401,6 +403,7 @@ IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, _BB_DIR_USR_BIN, _BB_SUID_NEVER, un
IF_UNIQ(APPLET(uniq, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
IF_UNIX2DOS(APPLET_ODDNAME(unix2dos, dos2unix, _BB_DIR_USR_BIN, _BB_SUID_NEVER, unix2dos))
IF_UNLZMA(APPLET(unlzma, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+IF_LZOP(APPLET_ODDNAME(unlzop, lzop, _BB_DIR_USR_BIN, _BB_SUID_NEVER, unlzop))
IF_UNZIP(APPLET(unzip, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
IF_UPTIME(APPLET(uptime, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
IF_USLEEP(APPLET_NOFORK(usleep, usleep, _BB_DIR_BIN, _BB_SUID_NEVER, usleep))
diff --git a/include/usage.h b/include/usage.h
index 3fb9961..123462a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -202,6 +202,31 @@
#define busybox_notes_usage \
"Hello world!\n"
+#define lzop_trivial_usage \
+ "[-cfvd123456789CF] [file..]"
+#define lzop_full_usage "\n\n" \
+ " -c Write to standard output" \
+ "\n -f Force" \
+ "\n -v Verbose" \
+ "\n -d Decompress" \
+ "\n -F Don't store or verify checksum" \
+ "\n -C Also write checksum of compressed block" \
+ "\n -1..9 Compression level" \
+
+#define lzopcat_trivial_usage \
+ "[-vCF] [file..]"
+#define lzopcat_full_usage "\n\n" \
+ " -v Verbose" \
+ "\n -F Don't store or verify checksum" \
+
+#define unlzop_trivial_usage \
+ "[-cfvCF] [file..]"
+#define unlzop_full_usage "\n\n" \
+ " -c Write to standard output" \
+ "\n -f Force" \
+ "\n -v Verbose" \
+ "\n -F Don't store or verify checksum" \
+
#define bzcat_trivial_usage \
"FILE"
#define bzcat_full_usage "\n\n" \