forked from auracaster/openocd
command: drop Jim Command handler, at last
With all OpenOCD commands converted to COMMAND_HANDLER, we can drop the management of jim_handler commands. Drop also from documentation the subsection on Jim Command Registration. Change-Id: I4d13abc7e384e64ecb155cb40bbbd52bb79ec672 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8901 Tested-by: jenkins
This commit is contained in:
@@ -671,7 +671,7 @@ static void telnet_auto_complete(struct connection *connection)
|
||||
} else if (jimcmd_is_oocd_command(jim_cmd)) {
|
||||
struct command *cmd = jimcmd_privdata(jim_cmd);
|
||||
|
||||
if (cmd && !cmd->handler && !cmd->jim_handler) {
|
||||
if (cmd && !cmd->handler) {
|
||||
/* Initial part of a multi-word command. Ignore it! */
|
||||
ignore_cmd = true;
|
||||
} else if (cmd && cmd->mode == COMMAND_CONFIG) {
|
||||
|
||||
Reference in New Issue
Block a user