summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2019-03-27 18:45:25 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-03-29 07:23:44 -0700
commit6e2c6d0c9a9d2772476c6e6b1b092704d7d9c8ed (patch)
treefa6f30e839178c5b4274d314956e034d7e9145e6 /util
parent77bab9c3c6b79ba6678e1a12bc38fc639affc557 (diff)
downloadchrome-ec-6e2c6d0c9a9d2772476c6e6b1b092704d7d9c8ed.tar.gz
ec-utils: Add cros_fp as name to ectool help msg
Add the already supported cros_fp device name to the ectool's help message. The previous output was: Usage: ectool [--dev=n] [--interface=dev|i2c|lpc] [--name=cros_ec|cros_pd|cros_scp|cros_sh] [--ascii] <command> [params] ... The new output is: Usage: ectool [--dev=n] [--interface=dev|i2c|lpc] [--name=cros_ec|cros_fp|cros_pd|cros_scp|cros_sh] [--ascii] <command> [params] ... BRANCH=none BUG=none TEST=Deployed to nocturne device Change-Id: Ib2eaf97ab181c7e43fd4fcdf86088c30145986b9 Signed-off-by: Craig Hesling <hesling@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1541952 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c
index a44613c1f3..8c3e971afd 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -333,7 +333,7 @@ int parse_bool(const char *s, int *dest)
void print_help(const char *prog, int print_cmds)
{
printf("Usage: %s [--dev=n] [--interface=dev|i2c|lpc] ", prog);
- printf("[--name=cros_ec|cros_pd|cros_scp|cros_sh] [--ascii] ");
+ printf("[--name=cros_ec|cros_fp|cros_pd|cros_scp|cros_sh] [--ascii] ");
printf("<command> [params]\n\n");
if (print_cmds)
puts(help_str);