summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Lindhorst <lindhors@linux.vnet.ibm.com>2006-12-05 09:46:11 +0100
committerJosh Boyer <jwboyer@gmail.com>2006-12-05 05:41:18 -0600
commitc7684f3cbb999e4aac050f4be16914a7db2c7156 (patch)
tree3f32fe91550992642005c1c706b2e6ce039a6632
parent7256ce0a316f532650c8a0e1b27a8512d4474c00 (diff)
nanddump.c: fix up long_options
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>
-rw-r--r--nanddump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nanddump.c b/nanddump.c
index ab39c04..8056790 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -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'},