summaryrefslogtreecommitdiff
path: root/archival/bbunzip.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-06 01:53:38 +0200
committerDenys Vlasenko2010-06-06 01:53:38 +0200
commitf0f94700610eba964441ce4a112134e03c76eb89 (patch)
tree2823e4cd344df7f85f0cd94dc87f1133d05fcc19 /archival/bbunzip.c
parent6c5bf0d347faded028e15d523c26a0d64c6d3920 (diff)
downloadbusybox-f0f94700610eba964441ce4a112134e03c76eb89.zip
busybox-f0f94700610eba964441ce4a112134e03c76eb89.tar.gz
make it possible to keep usage texts in .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/bbunzip.c')
-rw-r--r--archival/bbunzip.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index ce62235..b243afb 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -304,6 +304,17 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv)
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+//usage:#define bunzip2_trivial_usage
+//usage: "[OPTIONS] [FILE]..."
+//usage:#define bunzip2_full_usage "\n\n"
+//usage: "Decompress FILEs (or stdin)\n"
+//usage: "\nOptions:"
+//usage: "\n -c Write to stdout"
+//usage: "\n -f Force"
+//usage:#define bzcat_trivial_usage
+//usage: "FILE"
+//usage:#define bzcat_full_usage "\n\n"
+//usage: "Decompress to stdout"
//applet:IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP))
//applet:IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat))
#if ENABLE_BUNZIP2