From 42a0bf3c360c1eae418223f0ab535b4d7accae83 Mon Sep 17 00:00:00 2001 From: "R. Diez" Date: Sun, 23 May 2021 12:18:36 +0200 Subject: [PATCH] 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 --- doc/openocd.texi | 1 - src/helper/command.c | 1 - 2 files changed, 2 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 7f486a9dd8..daf0a6aa14 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 4be3abd74a..8ea805bd9e 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", }, -- 2.30.2