diff options
-rw-r--r-- | tools/intel_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg.c b/tools/intel_reg.c index 95760db8..2b3c686d 100644 --- a/tools/intel_reg.c +++ b/tools/intel_reg.c @@ -865,7 +865,7 @@ int main(int argc, char *argv[]) argc -= optind; argv += optind; - if (help) + if (help || (argc > 0 && strcmp(argv[0], "help") == 0)) return intel_reg_help(&config, argc, argv); if (argc == 0) { |