mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
intel_reg: ensure "intel_reg help" always works
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
9ecb50e5c5
commit
de2470ea4f
@ -865,7 +865,7 @@ int main(int argc, char *argv[])
|
|||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
if (help)
|
if (help || (argc > 0 && strcmp(argv[0], "help") == 0))
|
||||||
return intel_reg_help(&config, argc, argv);
|
return intel_reg_help(&config, argc, argv);
|
||||||
|
|
||||||
if (argc == 0) {
|
if (argc == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user