summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-13 03:36:03 +0000
committerDenis Vlasenko2007-10-13 03:36:03 +0000
commit77f1ec1b9bf100e6c10aa0856c7156e321511785 (patch)
treef20e5a9062ecad82a43bde81e3041a19c4292733 /include/usage.h
parent11c23d7b990eae27357e5a41a97d62b9a214f7db (diff)
downloadbusybox-77f1ec1b9bf100e6c10aa0856c7156e321511785.zip
busybox-77f1ec1b9bf100e6c10aa0856c7156e321511785.tar.gz
bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code resides
in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index b53820d..4c697d3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -127,6 +127,16 @@
" -c Write output to standard output\n" \
" -f Force"
+#define bzip2_trivial_usage \
+ "[OPTION]... [FILE]..."
+#define bzip2_full_usage \
+ "Compress FILE(s) with bzip2 algorithm.\n" \
+ "When FILE is '-' or unspecified, reads standard input. Implies -c." \
+ "\n\nOptions:\n" \
+ " -c Write output to standard output instead of FILE.bz\n" \
+ " -d Decompress\n" \
+ " -f Force"
+
#define busybox_notes_usage \
"Hello world!\n"
@@ -1201,7 +1211,7 @@
"Uncompress FILE (or standard input if FILE is '-')" \
"\n\nOptions:\n" \
" -c Write output to standard output\n" \
- " -f Force read when source is a terminal\n" \
+ " -f Force\n" \
" -t Test compressed file integrity"
#define gunzip_example_usage \
"$ ls -la /tmp/BusyBox*\n" \
@@ -1218,7 +1228,7 @@
"\n\nOptions:\n" \
" -c Write output to standard output instead of FILE.gz\n" \
" -d Decompress\n" \
- " -f Force write when destination is a terminal"
+ " -f Force"
#define gzip_example_usage \
"$ ls -la /tmp/busybox*\n" \
"-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/busybox.tar\n" \