diff options
author | Matt Kraai <kraai@debian.org> | 2002-03-27 17:31:01 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2002-03-27 17:31:01 +0000 |
commit | 9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c (patch) | |
tree | a8c2712e1b703f28ba0ca4ad662227ddea2bf413 /include | |
parent | fa15f702d2e4c7d377d6cf89e950227405622f1b (diff) | |
download | busybox-w32-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.tar.gz busybox-w32-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.tar.bz2 busybox-w32-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.zip |
* 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.h | 9 |
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 @@ | |||
52 | "bar" | 52 | "bar" |
53 | 53 | ||
54 | #define bunzip2_trivial_usage \ | 54 | #define bunzip2_trivial_usage \ |
55 | "[-c] FILE" | 55 | "[OPTION]... [FILE]" |
56 | #define bunzip2_full_usage \ | 56 | #define bunzip2_full_usage \ |
57 | "Uncompress FILE to current directory, stripping its .bz2 extension.\n"\ | 57 | "Uncompress FILE (or standard input if FILE is '-' or omitted).\n\n" \ |
58 | " -c output to stdout\n"\ | 58 | "Options:\n" \ |
59 | " -k is assumed" | 59 | "\t-c\tWrite output to standard output\n" \ |
60 | "\t-f\tForce" | ||
60 | 61 | ||
61 | #define bzcat_trivial_usage \ | 62 | #define bzcat_trivial_usage \ |
62 | "FILE" | 63 | "FILE" |