]> git.gag.com Git - fw/openocd/blobdiff - src/helper/command.c
- jtag_khz/speed are now single parameter only. These are used
[fw/openocd] / src / helper / command.c
index 12827ecd9c66e15e4a4cb6450e838ea2cd12a25d..0876d8777d9f5e86cc98a647b5f22dde4593fc8c 100644 (file)
@@ -346,6 +346,7 @@ int run_command(command_context_t *context, command_t *c, char *words[], int num
        if (!((context->mode == COMMAND_CONFIG) || (c->mode == COMMAND_ANY) || (c->mode == context->mode) ))
        {
                /* Config commands can not run after the config stage */
+               LOG_ERROR("Illegal mode for command");
                return ERROR_FAIL;
        }