command: fix the mode for command "jtag configure"
[openocd.git] / src / jtag / tcl.c
index e32f0ca..7683014 100644 (file)
@@ -894,7 +894,7 @@ static const struct command_registration jtag_subcommand_handlers[] = {
        },
        {
                .name = "configure",
-               .mode = COMMAND_EXEC,
+               .mode = COMMAND_ANY,
                .jim_handler = jim_jtag_configure,
                .help = "Provide a Tcl handler for the specified "
                        "TAP event.",