Commit de2470ea authored by Thomas Wood's avatar Thomas Wood

intel_reg: ensure "intel_reg help" always works

Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
parent 9ecb50e5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment