[PATCH] [MTD-UTILS] nanddump.c: fix up long_options

Timo Lindhorst lindhors at vnet.ibm.com
Tue Dec 5 03:46:11 EST 2006


Add the missing long option '--file'.

From: Timo Lindhorst <lindhors at linux.vnet.ibm.com>
Signed-off-by: Timo Lindhorst <lindhors at linux.vnet.ibm.com>
---
 nanddump.c |    1 +
 1 file changed, 1 insertion(+)

--- mtd-utils.git.orig/nanddump.c
+++ mtd-utils.git/nanddump.c
@@ -91,6 +91,7 @@ void process_options (int argc, char *ar
 		static const struct option long_options[] = {
 			{"help", no_argument, 0, 0},
 			{"version", no_argument, 0, 0},
+			{"file", required_argument, 0, 'f'},
 			{"ignoreerrors", no_argument, 0, 'i'},
 			{"prettyprint", no_argument, 0, 'p'},
 			{"omitoob", no_argument, 0, 'o'},




More information about the linux-mtd mailing list