From 15110b2b5bf3459d038e6142d151c3856760e387 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Mon, 22 Nov 2021 08:21:50 +0900 Subject: [PATCH] doc/openocd.texi: Document usage command Document usage command under General Commands -> Server Commands. The text is taken from the command's help string. Change-Id: I957cb46cca98181c3c5e676228c5c103e47bb655 Signed-off-by: Yasushi SHOJI Reviewed-on: https://review.openocd.org/c/openocd/+/6735 Tested-by: jenkins Reviewed-by: Antonio Borneo --- doc/openocd.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/openocd.texi b/doc/openocd.texi index 2c612e0a37..e0234e5778 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -8250,6 +8250,13 @@ In most cases, no such restriction is listed; this indicates commands which are only available after the configuration stage has completed. @end deffn +@deffn {Command} {usage} [string] +With no parameters, prints usage text for all commands. Otherwise, +prints all usage text of which command, help text, and usage text +containing @var{string}. +Not every command provides helptext. +@end deffn + @deffn {Command} {sleep} msec [@option{busy}] Wait for at least @var{msec} milliseconds before resuming. If @option{busy} is passed, busy-wait instead of sleeping. -- 2.30.2