helper/command: unregister commands through their full-name
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 13 May 2020 13:35:19 +0000 (15:35 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 18 Apr 2021 14:34:43 +0000 (15:34 +0100)
commita7d68878e4ba5dfd5ca15c058980cf6c5fc55208
tree8932ed57728608b61f807bc7c5538126c7b5e1ed
parentd8d24f3b3696f5d2e64a67df87684132b48031d2
helper/command: unregister commands through their full-name

While keeping the struct command in place, unregister the jim
commands by scanning the list of jim commands through their
full-name.

Change-Id: I0e903fbc31172858b703d67ccd471809c7949e86
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5674
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
src/helper/command.c
src/helper/command.h