From f68ade529a9ec68032e23c8d3c75c36179b4103f Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Thu, 28 Jan 2021 23:40:52 +0900 Subject: [PATCH] doc/manual: Fix function name typo We have both the singular form, register_command(), and the plural form register_commands(). Change-Id: I905ea83988b8ac70dd809b02d53b646aa4d66697 Signed-off-by: Yasushi SHOJI Reviewed-on: http://openocd.zylin.com/6042 Reviewed-by: Antonio Borneo Tested-by: jenkins --- doc/manual/helper.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/helper.txt b/doc/manual/helper.txt index 1b01b2e6bb..d5710ddde8 100644 --- a/doc/manual/helper.txt +++ b/doc/manual/helper.txt @@ -89,7 +89,7 @@ mode(s) of execution, and strings that provide usage and help text. A single handler may be registered using multiple names, but any name may have only one handler associated with it. -The @c register_commands() and @c register_commands() functions provide +The @c register_command() and @c register_commands() functions provide registration, while the @c unregister_command() and @c unregister_all_commands() functions will remove existing commands. These may be called at any time, allowing the command set to change in -- 2.30.2