aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-01-10 19:23:53 +0300
committerAntonio Borneo <borneo.antonio@gmail.com>2024-02-11 23:07:09 +0000
commitd0548940f289fbb6c3ce61106799aa56ec20f188 (patch)
tree069af7d4a3b735106a2746556a4fbc032fea1960 /doc
parent50be4bd2672916f9262df31108d4611c2b0fbf44 (diff)
downloadriscv-openocd-d0548940f289fbb6c3ce61106799aa56ec20f188.zip
riscv-openocd-d0548940f289fbb6c3ce61106799aa56ec20f188.tar.gz
riscv-openocd-d0548940f289fbb6c3ce61106799aa56ec20f188.tar.bz2
helper/log: report the file in `log_output` command
Prior to the change when calling `log_output` without any arguments it was unclear where the log was redirected. Change-Id: Iaa3ecea8166f9c7ec8aad7adf5bd412799f719a1 Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8071 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index a4e7c6a..38c8970 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -9035,9 +9035,10 @@ echo "Downloading kernel -- please wait"
@end example
@end deffn
-@deffn {Command} {log_output} [filename | "default"]
-Redirect logging to @var{filename} or set it back to default output;
-the default log output channel is stderr.
+@deffn {Command} {log_output} [filename | 'default']
+Redirect logging to @var{filename}. If used without an argument or
+@var{filename} is set to 'default' log output channel is set to
+stderr.
@end deffn
@deffn {Command} {add_script_search_dir} [directory]