diff options
author | Rob Landley <rob@landley.net> | 2006-01-20 18:28:50 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-01-20 18:28:50 +0000 |
commit | c1d69906a0c5f28f3d84c14afb3b74c8f19f81c1 (patch) | |
tree | 5e3796c33b995720bcd69f2b969e409e85bff119 /include/usage.h | |
parent | 7a43bd07e64e6db795d4661321da1cab14d9c4f6 (diff) | |
download | busybox-w32-c1d69906a0c5f28f3d84c14afb3b74c8f19f81c1.tar.gz busybox-w32-c1d69906a0c5f28f3d84c14afb3b74c8f19f81c1.tar.bz2 busybox-w32-c1d69906a0c5f28f3d84c14afb3b74c8f19f81c1.zip |
Patch from Aurelien Jacobs to add unlzma. (A new decompression type,
see www.7-zip.org)
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index e6287c8a3..8982f8dd2 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -102,6 +102,19 @@ | |||
102 | #define bzcat_full_usage \ | 102 | #define bzcat_full_usage \ |
103 | "Uncompress to stdout." | 103 | "Uncompress to stdout." |
104 | 104 | ||
105 | #define unlzma_trivial_usage \ | ||
106 | "[OPTION]... [FILE]" | ||
107 | #define unlzma_full_usage \ | ||
108 | "Uncompress FILE (or standard input if FILE is '-' or omitted).\n\n" \ | ||
109 | "Options:\n" \ | ||
110 | "\t-c\tWrite output to standard output\n" \ | ||
111 | "\t-f\tForce" | ||
112 | |||
113 | #define lzmacat_trivial_usage \ | ||
114 | "FILE" | ||
115 | #define lzmacat_full_usage \ | ||
116 | "Uncompress to stdout." | ||
117 | |||
105 | #define cal_trivial_usage \ | 118 | #define cal_trivial_usage \ |
106 | "[-jy] [[month] year]" | 119 | "[-jy] [[month] year]" |
107 | #define cal_full_usage \ | 120 | #define cal_full_usage \ |
@@ -2964,6 +2977,11 @@ | |||
2964 | #else | 2977 | #else |
2965 | # define USAGE_TAR_BZIP2(a) | 2978 | # define USAGE_TAR_BZIP2(a) |
2966 | #endif | 2979 | #endif |
2980 | #ifdef CONFIG_FEATURE_TAR_LZMA | ||
2981 | # define USAGE_TAR_LZMA(a) a | ||
2982 | #else | ||
2983 | # define USAGE_TAR_LZMA(a) | ||
2984 | #endif | ||
2967 | #ifdef CONFIG_FEATURE_TAR_COMPRESS | 2985 | #ifdef CONFIG_FEATURE_TAR_COMPRESS |
2968 | # define USAGE_TAR_COMPRESS(a) a | 2986 | # define USAGE_TAR_COMPRESS(a) a |
2969 | #else | 2987 | #else |
@@ -2971,7 +2989,7 @@ | |||
2971 | #endif | 2989 | #endif |
2972 | 2990 | ||
2973 | #define tar_trivial_usage \ | 2991 | #define tar_trivial_usage \ |
2974 | "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") USAGE_TAR_COMPRESS("Z") "xtvO] " \ | 2992 | "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") USAGE_TAR_LZMA("a") USAGE_TAR_COMPRESS("Z") "xtvO] " \ |
2975 | USAGE_TAR_EXCLUDE("[-X FILE]") \ | 2993 | USAGE_TAR_EXCLUDE("[-X FILE]") \ |
2976 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." | 2994 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." |
2977 | #define tar_full_usage \ | 2995 | #define tar_full_usage \ |
@@ -2983,6 +3001,7 @@ | |||
2983 | "\nArchive format selection:\n" \ | 3001 | "\nArchive format selection:\n" \ |
2984 | USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \ | 3002 | USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \ |
2985 | USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \ | 3003 | USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \ |
3004 | USAGE_TAR_LZMA("\ta\t\tFilter the archive through lzma\n") \ | ||
2986 | USAGE_TAR_COMPRESS("\tZ\t\tFilter the archive through compress\n") \ | 3005 | USAGE_TAR_COMPRESS("\tZ\t\tFilter the archive through compress\n") \ |
2987 | "\nFile selection:\n" \ | 3006 | "\nFile selection:\n" \ |
2988 | "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ | 3007 | "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ |