summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorG Dutton <35460590+gdttn@users.noreply.github.com>2019-09-02 14:26:30 +0100
committerAlexander Amelkin <mocbuhtig@amelkin.msk.ru>2019-09-03 23:40:48 +0300
commitaf062a9a5ee2e78b0c3570fd46ffff951f3f5ecb (patch)
tree0e725251a603bcf54449c79741b47d8a0b0018f9
parent1724b031b3c9d011082a69525ad527e15e54bfc5 (diff)
downloadipmitool-af062a9a5ee2e78b0c3570fd46ffff951f3f5ecb.tar.gz
user: Alter "set password" usage information
This changes the usage string to match reality and note that [<16|20>] is an optional argument to set password.
-rw-r--r--lib/ipmi_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipmi_user.c b/lib/ipmi_user.c
index 3c70e8f..4eddecb 100644
--- a/lib/ipmi_user.c
+++ b/lib/ipmi_user.c
@@ -434,7 +434,7 @@ print_user_usage(void)
lprintf(LOG_NOTICE,
" set name <user id> <username>");
lprintf(LOG_NOTICE,
-" set password <user id> [<password> <16|20>]");
+" set password <user id> [<password> [<16|20>]]");
lprintf(LOG_NOTICE,
" disable <user id>");
lprintf(LOG_NOTICE,