display only command list when 'help' specified on command line

This commit is contained in:
Duncan Laurie 2005-01-11 16:08:38 +00:00
parent 38fc65ae88
commit 218094310b

View File

@ -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;
}