]> git.sur5r.net Git - openocd/commit
add script_command_run helper
authorZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 03:51:49 +0000 (19:51 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 18:29:05 +0000 (10:29 -0800)
commitd89c6310146d9e5fd1a4ab364f09c0f841da5c73
treeadb670ad10acc8327b03112fec3cc6d475c0b359
parent9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51
add script_command_run helper

Eliminates duplicated code in script_command and handle_unknown_command.
Fixes bug with duplicated help output generated by placeholder commands.
src/helper/command.c