diff options
author | Alexander Amelkin <alexander@amelkin.msk.ru> | 2019-11-06 15:14:47 +0300 |
---|---|---|
committer | Alexander Amelkin <mocbuhtig@amelkin.msk.ru> | 2019-11-12 17:55:21 +0300 |
commit | 0854344db527026c08e91cbffd90050ad5e9f92c (patch) | |
tree | e023fae48f88b0363d0eb3419fd50c0a03e8bd80 /lib/ipmi_chassis.c | |
parent | 4b89f1b42d94a9bb96093d5e5237c7f1cfd84580 (diff) | |
download | ipmitool-0854344db527026c08e91cbffd90050ad5e9f92c.tar.gz |
chassis: bootdev: Fix help message and its formatting
There was a wrong help message regarding the console redirection,
and also the help formatting was a bit off. Straightened this all up.
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
Diffstat (limited to 'lib/ipmi_chassis.c')
-rw-r--r-- | lib/ipmi_chassis.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ipmi_chassis.c b/lib/ipmi_chassis.c index 91230bf..4f93c41 100644 --- a/lib/ipmi_chassis.c +++ b/lib/ipmi_chassis.c @@ -1976,7 +1976,7 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv) BF3_OFFSET, BF3_SLEEP_LOCKOUT_MASK, BF3_SLEEP_LOCKOUT, - "Log Out Sleep Button" + "Lock out the Sleep button" }, { "cons_redirect=default", @@ -1999,8 +1999,8 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv) BF3_OFFSET, BF3_CONSOLE_REDIR_MASK, BF3_CONSOLE_REDIR_ENABLE, - "Suppress (skip) console " - "redirection if enabled" + "Request console redirection " + "be enabled" }, /* data 4 */ /* data4[7:4] reserved */ @@ -2035,9 +2035,11 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv) } if (optionError) { lprintf(LOG_NOTICE, "Legal options settings are:"); - lprintf(LOG_NOTICE, "\thelp:\tprint this message"); + lprintf(LOG_NOTICE, " %-22s: %s", + "help", + "print this message"); for (op = options; op->name; ++op) { - lprintf(LOG_NOTICE, "\t%s:\t%s", op->name, op->desc); + lprintf(LOG_NOTICE, " %-22s: %s", op->name, op->desc); } return (-1); } |