aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-27 00:45:35 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-27 00:45:35 +0000
commit87444efbabbc817cdcbc1ee8d9ecd8951210512b (patch)
tree268dba7ff9e98f952e883290650430e86fda8c3c
parentd4c8d1a97f4554cabb8ae359704336d8adbd0513 (diff)
downloadbusybox-w32-87444efbabbc817cdcbc1ee8d9ecd8951210512b.tar.gz
busybox-w32-87444efbabbc817cdcbc1ee8d9ecd8951210512b.tar.bz2
busybox-w32-87444efbabbc817cdcbc1ee8d9ecd8951210512b.zip
Add usage for tar -j and -z
-rw-r--r--include/usage.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 16dd6fd78..b5687115d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1972,8 +1972,19 @@
1972#else 1972#else
1973 #define USAGE_TAR_EXCLUDE(a) 1973 #define USAGE_TAR_EXCLUDE(a)
1974#endif 1974#endif
1975#ifdef CONFIG_FEATURE_TAR_GZIP
1976 #define USAGE_TAR_GZIP(a) a
1977#else
1978 #define USAGE_TAR_GZIP(a)
1979#endif
1980#ifdef CONFIG_FEATURE_TAR_BZIP2
1981 #define USAGE_TAR_BZIP2(a) a
1982#else
1983 #define USAGE_TAR_BZIP2(a)
1984#endif
1985
1975#define tar_trivial_usage \ 1986#define tar_trivial_usage \
1976 "-[" USAGE_TAR_CREATE("c") "xtvO] " \ 1987 "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") "xtvO] " \
1977 USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \ 1988 USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \
1978 "[-f TARFILE] [-C DIR] [FILE(s)] ..." 1989 "[-f TARFILE] [-C DIR] [FILE(s)] ..."
1979#define tar_full_usage \ 1990#define tar_full_usage \
@@ -1982,6 +1993,9 @@
1982 USAGE_TAR_CREATE("\tc\t\tcreate\n") \ 1993 USAGE_TAR_CREATE("\tc\t\tcreate\n") \
1983 "\tx\t\textract\n" \ 1994 "\tx\t\textract\n" \
1984 "\tt\t\tlist\n" \ 1995 "\tt\t\tlist\n" \
1996 "\nArchive format selection:\n" \
1997 USAGE_TAR_GZIP("\tz\t\tFilter the archive through gzip\n") \
1998 USAGE_TAR_BZIP2("\tj\t\tFilter the archive through bzip2\n") \
1985 "\nFile selection:\n" \ 1999 "\nFile selection:\n" \
1986 "\tf\t\tname of TARFILE or \"-\" for stdin\n" \ 2000 "\tf\t\tname of TARFILE or \"-\" for stdin\n" \
1987 "\tO\t\textract to stdout\n" \ 2001 "\tO\t\textract to stdout\n" \