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 <yashi@spacecubics.com>
Reviewed-on: http://openocd.zylin.com/6042
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Yasushi SHOJI 2021-01-28 23:40:52 +09:00 committed by Antonio Borneo
parent 8a2f2993da
commit f68ade529a
1 changed files with 1 additions and 1 deletions

View File

@ -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 A single handler may be registered using multiple names, but any name
may have only one handler associated with it. 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 registration, while the @c unregister_command() and
@c unregister_all_commands() functions will remove existing commands. @c unregister_all_commands() functions will remove existing commands.
These may be called at any time, allowing the command set to change in These may be called at any time, allowing the command set to change in