mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel/tools/aubinator_error_decode: allow 0 arguments
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>
This commit is contained in:
parent
7a7010d4f5
commit
c2974a1d45
1 changed files with 2 additions and 3 deletions
|
|
@ -791,7 +791,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
if (help || argc == 1) {
|
||||
if (help) {
|
||||
print_help(argv[0], stderr);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
|
@ -815,8 +815,7 @@ main(int argc, char *argv[])
|
|||
"\tsudo mount -t debugfs debugfs /sys/kernel/debug\n");
|
||||
}
|
||||
} else {
|
||||
read_data_file(stdin);
|
||||
exit(EXIT_SUCCESS);
|
||||
file = stdin;
|
||||
}
|
||||
} else {
|
||||
path = argv[optind];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue