From: R. Diez Date: Sun, 23 May 2021 10:18:36 +0000 (+0200) Subject: Doc fix: echo writes to the log, and not to stdout X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=42a0bf3c360c1eae418223f0ab535b4d7accae83;p=fw%2Fopenocd Doc fix: echo writes to the log, and not to stdout Fixes bug #202 Change-Id: I855a1b8570af71379891634f405b4cc726917cb2 Signed-off-by: R. Diez Reviewed-on: http://openocd.zylin.com/6272 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/doc/openocd.texi b/doc/openocd.texi index 7f486a9dd..daf0a6aa1 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -8153,7 +8153,6 @@ file (which is normally the server's standard output). @deffn {Command} {echo} [-n] message Logs a message at "user" priority. -Output @var{message} to stdout. Option "-n" suppresses trailing newline. @example echo "Downloading kernel -- please wait" diff --git a/src/helper/command.c b/src/helper/command.c index 4be3abd74..8ea805bd9 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -1222,7 +1222,6 @@ static const struct command_registration command_builtin_handlers[] = { .handler = jim_echo, .mode = COMMAND_ANY, .help = "Logs a message at \"user\" priority. " - "Output message to stdout. " "Option \"-n\" suppresses trailing newline", .usage = "[-n] string", },