diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 21:49:23 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 21:49:23 +0000 |
commit | 7370f62493541cdfc41cfaf7e0f844e35a3a51e9 (patch) | |
tree | c90aa532e2f96cd1cf90ba68afc25f217755b6f4 | |
parent | 0b6539f7f9fd1f39e350f7394113ea6a9628f3da (diff) | |
download | busybox-w32-7370f62493541cdfc41cfaf7e0f844e35a3a51e9.tar.gz busybox-w32-7370f62493541cdfc41cfaf7e0f844e35a3a51e9.tar.bz2 busybox-w32-7370f62493541cdfc41cfaf7e0f844e35a3a51e9.zip |
Update usage for tar -Z
-rw-r--r-- | include/usage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 80cb274aa..f3216875e 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2321,9 +2321,14 @@ | |||
2321 | #else | 2321 | #else |
2322 | #define USAGE_TAR_BZIP2(a) | 2322 | #define USAGE_TAR_BZIP2(a) |
2323 | #endif | 2323 | #endif |
2324 | #ifdef CONFIG_FEATURE_TAR_COMPRESS | ||
2325 | #define USAGE_TAR_COMPRESS(a) a | ||
2326 | #else | ||
2327 | #define USAGE_TAR_COMPRESS(a) | ||
2328 | #endif | ||
2324 | 2329 | ||
2325 | #define tar_trivial_usage \ | 2330 | #define tar_trivial_usage \ |
2326 | "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") "xtvO] " \ | 2331 | "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") USAGE_TAR_COMPRESS("Z") "xtvO] " \ |
2327 | USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ | 2332 | USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ |
2328 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." | 2333 | "[-f TARFILE] [-C DIR] [FILE(s)] ..." |
2329 | #define tar_full_usage \ | 2334 | #define tar_full_usage \ |
@@ -2335,6 +2340,7 @@ | |||
2335 | "\nArchive format selection:\n" \ | 2340 | "\nArchive format selection:\n" \ |
2336 | USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \ | 2341 | USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \ |
2337 | USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \ | 2342 | USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \ |
2343 | USAGE_TAR_UNCOMPRESS("\tZ\t\tFilter the archive through compress\n") \ | ||
2338 | "\nFile selection:\n" \ | 2344 | "\nFile selection:\n" \ |
2339 | "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ | 2345 | "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ |
2340 | "\tO\t\textract to stdout\n" \ | 2346 | "\tO\t\textract to stdout\n" \ |