]> git.sur5r.net Git - openocd/commit
JIM: Add "-n" option to "echo"
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 8 Nov 2010 04:08:56 +0000 (12:08 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Nov 2010 07:12:51 +0000 (08:12 +0100)
commitd220e22e6376fa67d85c9731a4165f86609390d8
tree91c8ca4274d8fffe4fed2bdd542987df8eaccc52
parentfc4e001de34029ca6451038a351b433677d4f388
JIM: Add "-n" option to "echo"

With the new JIMTCL, "puts" only writes to stdout.
To write on telnet port too, "echo" must be used.
This patch gives to "echo" similar commandline option of "puts".

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/helper/command.c