diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-28 00:40:30 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 00:40:30 +0400 |
commit | 1f4447b2d439e6f11d95746bb5f611c353305859 (patch) | |
tree | 0f47681009046a12ee050b989b838c68493a6a2e /archival/gzip.c | |
parent | 700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff) |
move help text from include/usage.src.h to archival/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 38c5ae7fd..7686e1adb 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -39,6 +39,22 @@ gzip: bogus: No such file or directory aa: 85.1% -- replaced with aa.gz */ +//usage:#define gzip_trivial_usage +//usage: "[-cfd] [FILE]..." +//usage:#define gzip_full_usage "\n\n" +//usage: "Compress FILEs (or stdin)\n" +//usage: "\nOptions:" +//usage: "\n -d Decompress" +//usage: "\n -c Write to stdout" +//usage: "\n -f Force" +//usage: +//usage:#define gzip_example_usage +//usage: "$ ls -la /tmp/busybox*\n" +//usage: "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/busybox.tar\n" +//usage: "$ gzip /tmp/busybox.tar\n" +//usage: "$ ls -la /tmp/busybox*\n" +//usage: "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" + #include "libbb.h" #include "archive.h" |