summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-06-24 16:48:10 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-26 20:16:44 +0000
commite0075d54e65cd1f3f9379a8ef9568734a383d033 (patch)
treee77293e072aeb5475e61020254bf0901b182911e /common
parent586eb9b2a6b288af8996c798422c1a51570aa288 (diff)
downloadchrome-ec-e0075d54e65cd1f3f9379a8ef9568734a383d033.tar.gz
fpsensor: Add help descriptions for console commandsstabilize-12301.B
All the other console commands have help descriptions except for the fingerprint sensor commands. BRANCH=none BUG=none TEST="help list" in hatch_fp console Change-Id: I601c7e49a28693f4b7f4344a6030febb87c2ae20 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1674808 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/fpsensor/fpsensor.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/common/fpsensor/fpsensor.c b/common/fpsensor/fpsensor.c
index 895f65d8da..98ac892d18 100644
--- a/common/fpsensor/fpsensor.c
+++ b/common/fpsensor/fpsensor.c
@@ -646,7 +646,8 @@ int command_fpcapture(int argc, char **argv)
return rc;
}
-DECLARE_CONSOLE_COMMAND(fpcapture, command_fpcapture, "", "");
+DECLARE_CONSOLE_COMMAND(fpcapture, command_fpcapture, NULL,
+ "Capture fingerprint in PGM format");
int command_fpenroll(int argc, char **argv)
{
@@ -681,7 +682,8 @@ int command_fpenroll(int argc, char **argv)
return rc;
}
-DECLARE_CONSOLE_COMMAND(fpenroll, command_fpenroll, "", "");
+DECLARE_CONSOLE_COMMAND(fpenroll, command_fpenroll, NULL,
+ "Enroll a new fingerprint");
int command_fpmatch(int argc, char **argv)
@@ -699,13 +701,15 @@ int command_fpmatch(int argc, char **argv)
return rc;
}
-DECLARE_CONSOLE_COMMAND(fpmatch, command_fpmatch, "", "");
+DECLARE_CONSOLE_COMMAND(fpmatch, command_fpmatch, NULL,
+ "Run match algorithm against finger");
int command_fpclear(int argc, char **argv)
{
fp_clear_context();
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(fpclear, command_fpclear, "", "");
+DECLARE_CONSOLE_COMMAND(fpclear, command_fpclear, NULL,
+ "Clear fingerprint sensor context");
#endif /* CONFIG_CMD_FPSENSOR_DEBUG */