intel_dump_decode: Actually parse the -d option
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 22 Nov 2013 17:24:52 +0000 (17:24 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Thu, 28 Nov 2013 14:33:37 +0000 (14:33 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tools/intel_dump_decode.c

index a3cd2e5..959ec87 100644 (file)
@@ -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':