[BusyBox-cvs] svn commit: trunk/busybox/e2fsprogs

vapier at busybox.net vapier at busybox.net
Fri Jun 17 02:13:58 UTC 2005


Author: vapier
Date: 2005-06-16 20:13:57 -0600 (Thu, 16 Jun 2005)
New Revision: 10546

Log:
Tito says: unify verbose/quiet flags

Modified:
   trunk/busybox/e2fsprogs/mke2fs.c


Changeset:
Modified: trunk/busybox/e2fsprogs/mke2fs.c
===================================================================
--- trunk/busybox/e2fsprogs/mke2fs.c	2005-06-17 01:35:52 UTC (rev 10545)
+++ trunk/busybox/e2fsprogs/mke2fs.c	2005-06-17 02:13:57 UTC (rev 10546)
@@ -46,7 +46,6 @@
 
 /* Command line options */
 static int	cflag;
-static int	verbose;
 static int	quiet;
 static int	super_only;
 static int	force;
@@ -223,7 +222,7 @@
 	sprintf(buf, "badblocks -b %d %s%s%s %d", fs->blocksize,
 		quiet ? "" : "-s ", (cflag > 1) ? "-w " : "",
 		fs->device_name, fs->super->s_blocks_count);
-	if (verbose)
+	if (!quiet)
 		printf(_("Running command: %s\n"), buf);
 	f = popen(buf, "r");
 	if (!f) {
@@ -981,7 +980,7 @@
 			num_inodes = atoi(optarg);
 			break;
 		case 'v':
-			verbose = 1;
+			quiet = 0;
 			break;
 		case 'q':
 			quiet = 1;




More information about the busybox-cvs mailing list