diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 4b4ba48445e..f571370d71a 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -297,7 +297,7 @@ int main(int argc, char *argv[]) { "no-offsets", no_argument, (int *) &option_print_offsets, false }, { "gen", required_argument, NULL, 'g' }, { "headers", no_argument, (int *) &option_full_decode, false }, - { "color", required_argument, NULL, 'c' }, + { "color", optional_argument, NULL, 'c' }, { "xml", required_argument, NULL, 'x' }, { "max-vbo-lines", required_argument, NULL, 'v' }, { NULL, 0, NULL, 0 } diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 6a4d42e53c2..6d9ead5338e 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -759,7 +759,7 @@ main(int argc, char *argv[]) { "no-pager", no_argument, (int *) &pager, false }, { "no-offsets", no_argument, (int *) &option_print_offsets, false }, { "headers", no_argument, (int *) &option_full_decode, false }, - { "color", required_argument, NULL, 'c' }, + { "color", optional_argument, NULL, 'c' }, { "xml", required_argument, NULL, 'x' }, { "all-bb", no_argument, (int *) &option_print_all_bb, true }, { NULL, 0, NULL, 0 }