diff options
author | R. Diez <rdiezmail-openocd@yahoo.de> | 2021-05-23 12:18:36 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-06-18 23:15:31 +0100 |
commit | 42a0bf3c360c1eae418223f0ab535b4d7accae83 (patch) | |
tree | 5182c1ad6b62df24b3d93be5f06e463edced5e7d | |
parent | cdb8b00122142c58d9a91e37fbef322f2c9e5d02 (diff) | |
download | riscv-openocd-42a0bf3c360c1eae418223f0ab535b4d7accae83.zip riscv-openocd-42a0bf3c360c1eae418223f0ab535b4d7accae83.tar.gz riscv-openocd-42a0bf3c360c1eae418223f0ab535b4d7accae83.tar.bz2 |
Doc fix: echo writes to the log, and not to stdout
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>
-rw-r--r-- | doc/openocd.texi | 1 | ||||
-rw-r--r-- | src/helper/command.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 7f486a9..daf0a6a 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 4be3abd..8ea805b 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", }, |