mtd/util nandwrite.c,1.30,1.31

gleixner at infradead.org gleixner at infradead.org
Tue May 31 11:47:35 EDT 2005


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv31945

Modified Files:
	nandwrite.c 
Log Message:
Add missing short options. Pointed out by Peter Grayson <pgrayson at realmsys.com>

Index: nandwrite.c
===================================================================
RCS file: /home/cvs/mtd/util/nandwrite.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- nandwrite.c	7 Apr 2005 14:17:46 -0000	1.30
+++ nandwrite.c	31 May 2005 15:47:31 -0000	1.31
@@ -124,20 +124,20 @@
 
 	for (;;) {
 		int option_index = 0;
-		static const char *short_options = "os:ajynqp";
+		static const char *short_options = "ab:fjnopqs:y";
 		static const struct option long_options[] = {
 			{"help", no_argument, 0, 0},
 			{"version", no_argument, 0, 0},
-			{"oob", no_argument, 0, 'o'},
-			{"start", required_argument, 0, 's'},
 			{"autoplace", no_argument, 0, 'a'},
-			{"jffs2", no_argument, 0, 'j'},
-			{"yaffs", no_argument, 0, 'y'},
+		   	{"blockalign", required_argument, 0, 'b'},
 			{"forcelegacy", no_argument, 0, 'f'},
+			{"jffs2", no_argument, 0, 'j'},
 			{"noecc", no_argument, 0, 'n'},
-			{"quiet", no_argument, 0, 'q'},
+			{"oob", no_argument, 0, 'o'},
 			{"pad", no_argument, 0, 'p'},
-		   	{"blockalign", required_argument, 0, 'b'},
+			{"quiet", no_argument, 0, 'q'},
+			{"start", required_argument, 0, 's'},
+			{"yaffs", no_argument, 0, 'y'},
 			{0, 0, 0, 0},
 		};
 





More information about the linux-mtd-cvs mailing list