aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-03-27 17:31:01 +0000
committerMatt Kraai <kraai@debian.org>2002-03-27 17:31:01 +0000
commit9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c (patch)
treea8c2712e1b703f28ba0ca4ad662227ddea2bf413 /include
parentfa15f702d2e4c7d377d6cf89e950227405622f1b (diff)
downloadbusybox-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.tar.gz
* archival/bunzip2.c: Include <unistd.h>.
(bunzip2_main): Read data from standard input if FILE argument is `-' or omitted. * include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite. * testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h
index 6692aa520..e7de6f53f 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -52,11 +52,12 @@
"bar"
#define bunzip2_trivial_usage \
- "[-c] FILE"
+ "[OPTION]... [FILE]"
#define bunzip2_full_usage \
- "Uncompress FILE to current directory, stripping its .bz2 extension.\n"\
- " -c output to stdout\n"\
- " -k is assumed"
+ "Uncompress FILE (or standard input if FILE is '-' or omitted).\n\n" \
+ "Options:\n" \
+ "\t-c\tWrite output to standard output\n" \
+ "\t-f\tForce"
#define bzcat_trivial_usage \
"FILE"