diff options
author | Matt Kraai | 2002-03-27 17:31:01 +0000 |
---|---|---|
committer | Matt Kraai | 2002-03-27 17:31:01 +0000 |
commit | 9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c (patch) | |
tree | a8c2712e1b703f28ba0ca4ad662227ddea2bf413 /include/usage.h | |
parent | fa15f702d2e4c7d377d6cf89e950227405622f1b (diff) | |
download | busybox-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.zip busybox-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/usage.h')
-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 6692aa5..e7de6f5 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" |