From 39197e3e5345964686b7d5e2c3fce3d63563a7e9 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Mon, 22 Nov 2021 08:18:22 +0900 Subject: [PATCH] doc/openocd.texi: Document add_help_text and add_usage_text Document add_help_text and add_usage_text under Genral Commands -> Misc Commands. The text are taken from command's help strings. Change-Id: I2bbbee8e5faa8d9654227c304e0528f5144275e8 Signed-off-by: Yasushi SHOJI Reviewed-on: https://review.openocd.org/c/openocd/+/6734 Tested-by: jenkins Reviewed-by: Antonio Borneo --- doc/openocd.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/openocd.texi b/doc/openocd.texi index 4923a872b..2c612e0a3 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -8739,6 +8739,14 @@ Requests the current target to map the specified @var{virtual_address} to its corresponding physical address, and displays the result. @end deffn +@deffn {Command} {add_help_text} 'command_name' 'help-string' +Add or replace help text on the given @var{command_name}. +@end deffn + +@deffn {Command} {add_usage_text} 'command_name' 'help-string' +Add or replace usage text on the given @var{command_name}. +@end deffn + @node Architecture and Core Commands @chapter Architecture and Core Commands @cindex Architecture Specific Commands -- 2.30.2