]> www.infradead.org Git - mtd-utils.git/commitdiff
nanddump.c: fix up long_options
authorTimo Lindhorst <lindhors@linux.vnet.ibm.com>
Tue, 5 Dec 2006 08:46:11 +0000 (09:46 +0100)
committerJosh Boyer <jwboyer@gmail.com>
Tue, 5 Dec 2006 11:41:18 +0000 (05:41 -0600)
Add the missing long option '--file'.

From: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
nanddump.c

index ab39c047ebf1b11749485e0e55365f33538265f1..80567905eea8e8fdbb51e8d2d707855545645ff6 100644 (file)
@@ -91,6 +91,7 @@ void process_options (int argc, char *argv[])
                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'},