summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2001-11-18 14:20:25 +0000
committerGlenn L McGrath2001-11-18 14:20:25 +0000
commitfff11f1ab7ec7cc67087231361f3bde8ecff115f (patch)
treeef99119582637a44a5a065ac235f6999c85083d8 /include
parentfedce06b7fa53989df8a7994dcd2b24ed5ccf51a (diff)
downloadbusybox-fff11f1ab7ec7cc67087231361f3bde8ecff115f.zip
busybox-fff11f1ab7ec7cc67087231361f3bde8ecff115f.tar.gz
bzcat and bunzip -c support from Thomas Lundquist
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h8
2 files changed, 10 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index ea196cb..aa112c3 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -68,6 +68,9 @@
APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN)
#endif
APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
+#ifdef CONFIG_BUNZIP2
+ APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN)
+#endif
#ifdef CONFIG_CAT
APPLET(cat, cat_main, _BB_DIR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index 12d5e1e..df1c18e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -52,11 +52,17 @@
"bar"
#define bunzip2_trivial_usage \
- "FILE"
+ "[-c] FILE"
#define bunzip2_full_usage \
"Uncompress FILE to current directory, stripping its .bz2 extension.\n"\
+ " -c output to stdout\n"\
" -k is assumed"
+#define bzcat_trivial_usage \
+ "FILE"
+#define bzcat_full_usage \
+ "Uncompress to stdout."
+
#define cat_trivial_usage \
"[FILE]..."
#define cat_full_usage \