Doc fix: echo writes to the log, and not to stdout
authorR. Diez <rdiezmail-openocd@yahoo.de>
Sun, 23 May 2021 10:18:36 +0000 (12:18 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 18 Jun 2021 22:15:31 +0000 (23:15 +0100)
Fixes bug #202

Change-Id: I855a1b8570af71379891634f405b4cc726917cb2
Signed-off-by: R. Diez <rdiezmail-openocd@yahoo.de>
Reviewed-on: http://openocd.zylin.com/6272
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
doc/openocd.texi
src/helper/command.c

index 7f486a9dd85bbadde70a5b50e11957a4863304bb..daf0a6aa14f106a34166ad6752c6c0eb76e7947e 100644 (file)
@@ -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"
index 4be3abd74a37e6578910fdd98733b970fcba086f..8ea805bd9eb6e425748fd5070ab4cbf1efed65e4 100644 (file)
@@ -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",
        },