diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-11-18 17:20:25 +0300 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-11-18 17:20:25 +0300 |
commit | fff11f1ab7ec7cc67087231361f3bde8ecff115f (patch) | |
tree | ef99119582637a44a5a065ac235f6999c85083d8 /include | |
parent | fedce06b7fa53989df8a7994dcd2b24ed5ccf51a (diff) |
bzcat and bunzip -c support from Thomas Lundquist
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h index ea196cb66..aa112c30b 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 12d5e1ed5..df1c18ec7 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 \ |