diff options
author | Edward Hill <ecgh@chromium.org> | 2018-03-16 15:05:11 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-16 20:55:35 -0700 |
commit | 53ce2a77f545e594405e4c7b7da5082a1bdfeb06 (patch) | |
tree | 38e8d55cf32a409492784481da480f2b4d3770b9 /common | |
parent | 50728bc54748d95c94095c3f7c3579d4473034a9 (diff) | |
download | chrome-ec-53ce2a77f545e594405e4c7b7da5082a1bdfeb06.tar.gz |
console: Fix help for parse_bool
A few commands had help text of "[0 | 1]" but parse_bool()
doesn't recognize 0 and 1. Change help text to "[on | off]",
matching other commands.
BUG=b:75302458
BRANCH=none
TEST=none
Change-Id: I9b1e4a70e024d17ec8bccc015069e31d7fff08ca
Signed-off-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/967248
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/keyboard_8042.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c index 4c1fb24395..3e1836a518 100644 --- a/common/keyboard_8042.c +++ b/common/keyboard_8042.c @@ -1089,7 +1089,7 @@ static int command_keyboard(int argc, char **argv) return EC_SUCCESS; } DECLARE_CONSOLE_COMMAND(kbd, command_keyboard, - "[0 | 1]", + "[on | off]", "Print or toggle keyboard info"); |