diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-16 05:46:15 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 11:40:21 -0800 |
commit | cffc98ad8047b6dc8d38a6422136638f2df992d2 (patch) | |
tree | 678ece1f99a35ab8dad501f9ca0c048ebcef872b /src/helper/ioutil.c | |
parent | be084414ba00a4ad641af04c3c6858312dd1b336 (diff) | |
download | openocd_libswd-cffc98ad8047b6dc8d38a6422136638f2df992d2.tar.gz openocd_libswd-cffc98ad8047b6dc8d38a6422136638f2df992d2.tar.bz2 openocd_libswd-cffc98ad8047b6dc8d38a6422136638f2df992d2.tar.xz openocd_libswd-cffc98ad8047b6dc8d38a6422136638f2df992d2.zip |
add CMD_NAME variable in command_invocation
Update CMD_NAME from its migratory home in CMD_ARGV[-1] to cmd->name.
Allows CMD_ARGV++ idiom to be used safely in command handlers.
Diffstat (limited to 'src/helper/ioutil.c')
0 files changed, 0 insertions, 0 deletions