[BusyBox-cvs] busybox/include usage.h,1.133,1.134
Glenn McGrath
bug1 at busybox.net
Fri Dec 27 00:45:39 UTC 2002
- Previous message: [BusyBox-cvs] busybox/debian changelog,1.30,1.31 config-deb,1.3,1.4 config-static,1.4,1.5 config-udeb,1.6,1.7
- Next message: [BusyBox-cvs] busybox/networking ifconfig.c,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv5470/include
Modified Files:
usage.h
Log Message:
Add usage for tar -j and -z
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- usage.h 14 Dec 2002 01:58:57 -0000 1.133
+++ usage.h 27 Dec 2002 00:45:35 -0000 1.134
@@ -1972,8 +1972,19 @@
#else
#define USAGE_TAR_EXCLUDE(a)
#endif
+#ifdef CONFIG_FEATURE_TAR_GZIP
+ #define USAGE_TAR_GZIP(a) a
+#else
+ #define USAGE_TAR_GZIP(a)
+#endif
+#ifdef CONFIG_FEATURE_TAR_BZIP2
+ #define USAGE_TAR_BZIP2(a) a
+#else
+ #define USAGE_TAR_BZIP2(a)
+#endif
+
#define tar_trivial_usage \
- "-[" USAGE_TAR_CREATE("c") "xtvO] " \
+ "-[" USAGE_TAR_CREATE("c") USAGE_TAR_GZIP("z") USAGE_TAR_BZIP2("j") "xtvO] " \
USAGE_TAR_EXCLUDE("[--exclude FILE] [-X FILE]") \
"[-f TARFILE] [-C DIR] [FILE(s)] ..."
#define tar_full_usage \
@@ -1982,6 +1993,9 @@
USAGE_TAR_CREATE("\tc\t\tcreate\n") \
"\tx\t\textract\n" \
"\tt\t\tlist\n" \
+ "\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") \
"\nFile selection:\n" \
"\tf\t\tname of TARFILE or \"-\" for stdin\n" \
"\tO\t\textract to stdout\n" \
- Previous message: [BusyBox-cvs] busybox/debian changelog,1.30,1.31 config-deb,1.3,1.4 config-static,1.4,1.5 config-udeb,1.6,1.7
- Next message: [BusyBox-cvs] busybox/networking ifconfig.c,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list