From 7370f62493541cdfc41cfaf7e0f844e35a3a51e9 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 18 Nov 2003 21:49:23 +0000 Subject: [PATCH] Update usage for tar -Z --- include/usage.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 @@ #else #define USAGE_TAR_BZIP2(a) #endif +#ifdef CONFIG_FEATURE_TAR_COMPRESS + #define USAGE_TAR_COMPRESS(a) a +#else + #define USAGE_TAR_COMPRESS(a) +#endif #define tar_trivial_usage \ - "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") "xtvO] " \ + "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") USAGE_TAR_COMPRESS("Z") "xtvO] " \ USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ "[-f TARFILE] [-C DIR] [FILE(s)] ..." #define tar_full_usage \ @@ -2335,6 +2340,7 @@ "\nArchive format selection:\n" \ USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \ USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \ + USAGE_TAR_UNCOMPRESS("\tZ\t\tFilter the archive through compress\n") \ "\nFile selection:\n" \ "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ "\tO\t\textract to stdout\n" \ -- 2.25.1