[Intel-gfx] [PATCH 1/2] intel_dump_decode: Actually parse the -d option

Damien Lespiau damien.lespiau at intel.com
Fri Nov 22 18:33:41 CET 2013


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tools/intel_dump_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/intel_dump_decode.c b/tools/intel_dump_decode.c
index a3cd2e5..959ec87 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':
-- 
1.8.3.1




More information about the Intel-gfx mailing list