mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47: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;
|
||||
}
|
||||
if (strncmp(argv[optind], "help", 4) == 0) {
|
||||
ipmitool_usage();
|
||||
ipmi_cmd_print();
|
||||
goto out_free;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user