projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e4c0a
)
intel/tools/aubinator_error_decode: exit with an error on unknown option
author
Marcin Ślusarz
<marcin.slusarz@intel.com>
Mon, 30 Nov 2020 12:15:18 +0000
(13:15 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 1 Dec 2020 14:44:04 +0000
(14:44 +0000)
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7833>
src/intel/tools/aubinator_error_decode.c
patch
|
blob
|
history
diff --git
a/src/intel/tools/aubinator_error_decode.c
b/src/intel/tools/aubinator_error_decode.c
index
6d9ead5
..
b7bdd88
100644
(file)
--- a/
src/intel/tools/aubinator_error_decode.c
+++ b/
src/intel/tools/aubinator_error_decode.c
@@
-783,6
+783,9
@@
main(int argc, char *argv[])
case 'x':
xml_path = strdup(optarg);
break;
+ case '?':
+ print_help(argv[0], stderr);
+ exit(EXIT_FAILURE);
default:
break;
}