svn commit: trunk/busybox/archival
vda at busybox.net
vda at busybox.net
Sun Oct 21 18:59:59 UTC 2007
Author: vda
Date: 2007-10-21 11:59:58 -0700 (Sun, 21 Oct 2007)
New Revision: 20312
Log:
bzip2: make -d actually work
Modified:
trunk/busybox/archival/bbunzip.c
Changeset:
Modified: trunk/busybox/archival/bbunzip.c
===================================================================
--- trunk/busybox/archival/bbunzip.c 2007-10-21 15:36:17 UTC (rev 20311)
+++ trunk/busybox/archival/bbunzip.c 2007-10-21 18:59:58 UTC (rev 20312)
@@ -11,7 +11,7 @@
enum {
OPT_STDOUT = 0x1,
OPT_FORCE = 0x2,
-/* gunzip only: */
+/* gunzip and bunzip2 only: */
OPT_VERBOSE = 0x4,
OPT_DECOMPRESS = 0x8,
OPT_TEST = 0x10,
@@ -161,7 +161,7 @@
int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int bunzip2_main(int argc, char **argv)
{
- getopt32(argv, "cf");
+ getopt32(argv, "cfvdt");
argv += optind;
if (applet_name[2] == 'c')
option_mask32 |= OPT_STDOUT;
More information about the busybox-cvs
mailing list