Menu

#202 Command 'echo' writes to stderr, and not to stdout, as stated in the documentation.

0.9.0
closed
nobody
None
http://openocd.zylin.com/6272
doc
error
2021-06-18
2018-08-16
rdiez
No

Command 'echo' writes to stderr, and not to stdout, as stated in the documentation.

Discussion

  • Tommy Murphy

    Tommy Murphy - 2018-12-11
     
  • Antonio Borneo

    Antonio Borneo - 2021-06-05

    Actually "echo" writes in OpenOCD log.
    By default the log is on stderr, but can be redirected whit command "log_output"
    I agree, the documentation is not correct

    @deffn {Command} {echo} [-n] message
    Logs a message at "user" priority.
    Output @var to stdout.

    The first two lines are ok, the third should be removed

     
  • Antonio Borneo

    Antonio Borneo - 2021-06-18
     
  • Antonio Borneo

    Antonio Borneo - 2021-06-18
     

Log in to post a comment.