summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 \