summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2003-11-18 21:49:23 +0000
committerGlenn L McGrath2003-11-18 21:49:23 +0000
commit7370f62493541cdfc41cfaf7e0f844e35a3a51e9 (patch)
treec90aa532e2f96cd1cf90ba68afc25f217755b6f4 /include
parent0b6539f7f9fd1f39e350f7394113ea6a9628f3da (diff)
downloadbusybox-7370f62493541cdfc41cfaf7e0f844e35a3a51e9.zip
busybox-7370f62493541cdfc41cfaf7e0f844e35a3a51e9.tar.gz
Update usage for tar -Z
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 80cb274..f321687 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" \