mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 19:17:22 +00:00
display only command list when 'help' specified on command line
This commit is contained in:
parent
38fc65ae88
commit
218094310b
@ -414,7 +414,7 @@ main(int argc, char ** argv)
|
|||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
if (strncmp(argv[optind], "help", 4) == 0) {
|
if (strncmp(argv[optind], "help", 4) == 0) {
|
||||||
ipmitool_usage();
|
ipmi_cmd_print();
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user