diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-27 22:40:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-27 22:40:30 +0200 |
commit | 1f4447b2d439e6f11d95746bb5f611c353305859 (patch) | |
tree | 0f47681009046a12ee050b989b838c68493a6a2e /archival/gzip.c | |
parent | 700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff) | |
download | busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.gz busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.bz2 busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.zip |
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 | |||
39 | aa: 85.1% -- replaced with aa.gz | 39 | aa: 85.1% -- replaced with aa.gz |
40 | */ | 40 | */ |
41 | 41 | ||
42 | //usage:#define gzip_trivial_usage | ||
43 | //usage: "[-cfd] [FILE]..." | ||
44 | //usage:#define gzip_full_usage "\n\n" | ||
45 | //usage: "Compress FILEs (or stdin)\n" | ||
46 | //usage: "\nOptions:" | ||
47 | //usage: "\n -d Decompress" | ||
48 | //usage: "\n -c Write to stdout" | ||
49 | //usage: "\n -f Force" | ||
50 | //usage: | ||
51 | //usage:#define gzip_example_usage | ||
52 | //usage: "$ ls -la /tmp/busybox*\n" | ||
53 | //usage: "-rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/busybox.tar\n" | ||
54 | //usage: "$ gzip /tmp/busybox.tar\n" | ||
55 | //usage: "$ ls -la /tmp/busybox*\n" | ||
56 | //usage: "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" | ||
57 | |||
42 | #include "libbb.h" | 58 | #include "libbb.h" |
43 | #include "archive.h" | 59 | #include "archive.h" |
44 | 60 | ||