summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-11-22 17:24:52 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-11-28 14:33:37 +0000
commitb226f43fe854ba1d0d8be7fe94f8692a93fa8aa8 (patch)
tree2e45bd85b4c1131be64de547f4b1a5927a35eaf4 /tools
parent6c9fcc42bb3ef448fdea579795816f7321f8bd75 (diff)
intel_dump_decode: Actually parse the -d option
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_dump_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_dump_decode.c b/tools/intel_dump_decode.c
index a3cd2e59..959ec87d 100644
--- a/tools/intel_dump_decode.c
+++ b/tools/intel_dump_decode.c
@@ -168,7 +168,7 @@ main (int argc, char *argv[])
{"binary", 0, 0, 'b'}
};
- while((c = getopt_long(argc, argv, "ab",
+ while((c = getopt_long(argc, argv, "ad:b",
long_options, &option_index)) != -1) {
switch(c) {
case 'd':