cmd: add missing usage var

Change-Id: I0f05d643b0801b19cc3beb88f0d12d7e4c83ef9c
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/356
Tested-by: jenkins
This commit is contained in:
Spencer Oliver 2012-01-09 16:14:18 +00:00
parent 0aefdbd446
commit 2a34cc8eb6
19 changed files with 27 additions and 0 deletions

View File

@ -3244,6 +3244,7 @@ static const struct command_registration at91sam3_command_handlers[] = {
.name = "at91sam3", .name = "at91sam3",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "at91sam3 flash command group", .help = "at91sam3 flash command group",
.usage = "",
.chain = at91sam3_exec_command_handlers, .chain = at91sam3_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -1287,6 +1287,7 @@ static const struct command_registration at91sam7_command_handlers[] = {
.name = "at91sam7", .name = "at91sam7",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "at91sam7 flash command group", .help = "at91sam7 flash command group",
.usage = "",
.chain = at91sam7_exec_command_handlers, .chain = at91sam7_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -492,6 +492,7 @@ static const struct command_registration avrf_command_handlers[] = {
.name = "avrf", .name = "avrf",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "AVR flash command group", .help = "AVR flash command group",
.usage = "",
.chain = avrf_exec_command_handlers, .chain = avrf_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -946,6 +946,7 @@ static const struct command_registration em357_command_handlers[] = {
.name = "em357", .name = "em357",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "em357 flash command group", .help = "em357 flash command group",
.usage = "",
.chain = em357_exec_command_handlers, .chain = em357_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -886,6 +886,7 @@ static const struct command_registration fm3_command_handlers[] = {
.name = "fm3", .name = "fm3",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "fm3 Flash command group", .help = "fm3 Flash command group",
.usage = "",
.chain = fm3_exec_command_handlers, .chain = fm3_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -836,6 +836,7 @@ static const struct command_registration lpc2000_exec_command_handlers[] = {
.handler = lpc2000_handle_part_id_command, .handler = lpc2000_handle_part_id_command,
.mode = COMMAND_EXEC, .mode = COMMAND_EXEC,
.help = "print part id of lpc2000 flash bank <num>", .help = "print part id of lpc2000 flash bank <num>",
.usage = "<bank>",
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE
}; };
@ -844,6 +845,7 @@ static const struct command_registration lpc2000_command_handlers[] = {
.name = "lpc2000", .name = "lpc2000",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "lpc2000 flash command group", .help = "lpc2000 flash command group",
.usage = "",
.chain = lpc2000_exec_command_handlers, .chain = lpc2000_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -1004,6 +1004,7 @@ static const struct command_registration lpc2900_command_handlers[] = {
.name = "lpc2900", .name = "lpc2900",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "LPC2900 flash command group", .help = "LPC2900 flash command group",
.usage = "",
.chain = lpc2900_exec_command_handlers, .chain = lpc2900_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -855,6 +855,7 @@ static const struct command_registration pic32mx_command_handlers[] = {
.name = "pic32mx", .name = "pic32mx",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "pic32mx flash command group", .help = "pic32mx flash command group",
.usage = "",
.chain = pic32mx_exec_command_handlers, .chain = pic32mx_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -1451,6 +1451,7 @@ static const struct command_registration stellaris_command_handlers[] = {
.name = "stellaris", .name = "stellaris",
.mode = COMMAND_EXEC, .mode = COMMAND_EXEC,
.help = "Stellaris flash command group", .help = "Stellaris flash command group",
.usage = "",
.chain = stellaris_exec_command_handlers, .chain = stellaris_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -1671,6 +1671,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f1x", .name = "stm32f1x",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "stm32f1x flash command group", .help = "stm32f1x flash command group",
.usage = "",
.chain = stm32x_exec_command_handlers, .chain = stm32x_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -807,6 +807,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f2x", .name = "stm32f2x",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "stm32f2x flash command group", .help = "stm32f2x flash command group",
.usage = "",
.chain = stm32x_exec_command_handlers, .chain = stm32x_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -740,6 +740,7 @@ static const struct command_registration stm32lx_command_handlers[] =
.name = "stm32lx", .name = "stm32lx",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "stm32lx flash command group", .help = "stm32lx flash command group",
.usage = "",
.chain = stm32lx_exec_command_handlers, .chain = stm32lx_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -853,6 +853,7 @@ static const struct command_registration str7x_command_handlers[] = {
.name = "str7x", .name = "str7x",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "str7x flash command group", .help = "str7x flash command group",
.usage = "",
.chain = str7x_exec_command_handlers, .chain = str7x_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -735,6 +735,7 @@ static const struct command_registration str9x_command_handlers[] = {
.name = "str9x", .name = "str9x",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "str9x flash command group", .help = "str9x flash command group",
.usage = "",
.chain = str9x_config_command_handlers, .chain = str9x_config_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -1279,6 +1279,7 @@ static const struct command_registration str9xpec_command_handlers[] = {
.name = "str9xpec", .name = "str9xpec",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "str9xpec flash command group", .help = "str9xpec flash command group",
.usage = "",
.chain = str9xpec_config_command_handlers, .chain = str9xpec_config_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -863,6 +863,7 @@ static const struct command_registration tms470_command_handlers[] = {
.name = "tms470", .name = "tms470",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "TI tms470 flash command group", .help = "TI tms470 flash command group",
.usage = "",
.chain = tms470_any_command_handlers, .chain = tms470_any_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -59,16 +59,19 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "init", .name = "init",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = ""
}, },
{ {
.name = "arp_init", .name = "arp_init",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = ""
}, },
{ {
.name = "arp_init-reset", .name = "arp_init-reset",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = ""
}, },
{ {
.name = "tapisenabled", .name = "tapisenabled",
@ -84,11 +87,13 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "tapdisable", .name = "tapdisable",
.mode = COMMAND_EXEC, .mode = COMMAND_EXEC,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = "",
}, },
{ {
.name = "configure", .name = "configure",
.mode = COMMAND_EXEC, .mode = COMMAND_EXEC,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = "",
}, },
{ {
.name = "cget", .name = "cget",
@ -99,6 +104,7 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "names", .name = "names",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command, .handler = stlink_transport_jtag_command,
.usage = "",
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE
@ -110,11 +116,13 @@ static const struct command_registration stlink_transport_command_handlers[] = {
.name = "stlink", .name = "stlink",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "perform stlink actions", .help = "perform stlink actions",
.usage = "",
.chain = stlink_transport_stlink_subcommand_handlers, .chain = stlink_transport_stlink_subcommand_handlers,
}, },
{ {
.name = "jtag", .name = "jtag",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.usage = "",
.chain = stlink_transport_jtag_subcommand_handlers, .chain = stlink_transport_jtag_subcommand_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -5050,6 +5050,7 @@ static int target_create(Jim_GetOptInfo *goi)
.name = cp, .name = cp,
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "target command group", .help = "target command group",
.usage = "",
.chain = target_subcommands, .chain = target_subcommands,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE

View File

@ -326,6 +326,7 @@ static const struct command_registration target_req_command_handlers[] = {
.name = "target_request", .name = "target_request",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "target request command group", .help = "target request command group",
.usage = "",
.chain = target_req_exec_command_handlers, .chain = target_req_exec_command_handlers,
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE