Commit 2a34cc8e authored by Spencer Oliver's avatar Spencer Oliver
Browse files

cmd: add missing usage var



Change-Id: I0f05d643b0801b19cc3beb88f0d12d7e4c83ef9c
Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/356
Tested-by: jenkins
parent 0aefdbd4
......@@ -3244,6 +3244,7 @@ static const struct command_registration at91sam3_command_handlers[] = {
.name = "at91sam3",
.mode = COMMAND_ANY,
.help = "at91sam3 flash command group",
.usage = "",
.chain = at91sam3_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1287,6 +1287,7 @@ static const struct command_registration at91sam7_command_handlers[] = {
.name = "at91sam7",
.mode = COMMAND_ANY,
.help = "at91sam7 flash command group",
.usage = "",
.chain = at91sam7_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -492,6 +492,7 @@ static const struct command_registration avrf_command_handlers[] = {
.name = "avrf",
.mode = COMMAND_ANY,
.help = "AVR flash command group",
.usage = "",
.chain = avrf_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -946,6 +946,7 @@ static const struct command_registration em357_command_handlers[] = {
.name = "em357",
.mode = COMMAND_ANY,
.help = "em357 flash command group",
.usage = "",
.chain = em357_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -886,6 +886,7 @@ static const struct command_registration fm3_command_handlers[] = {
.name = "fm3",
.mode = COMMAND_ANY,
.help = "fm3 Flash command group",
.usage = "",
.chain = fm3_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -836,6 +836,7 @@ static const struct command_registration lpc2000_exec_command_handlers[] = {
.handler = lpc2000_handle_part_id_command,
.mode = COMMAND_EXEC,
.help = "print part id of lpc2000 flash bank <num>",
.usage = "<bank>",
},
COMMAND_REGISTRATION_DONE
};
......@@ -844,6 +845,7 @@ static const struct command_registration lpc2000_command_handlers[] = {
.name = "lpc2000",
.mode = COMMAND_ANY,
.help = "lpc2000 flash command group",
.usage = "",
.chain = lpc2000_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1004,6 +1004,7 @@ static const struct command_registration lpc2900_command_handlers[] = {
.name = "lpc2900",
.mode = COMMAND_ANY,
.help = "LPC2900 flash command group",
.usage = "",
.chain = lpc2900_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -855,6 +855,7 @@ static const struct command_registration pic32mx_command_handlers[] = {
.name = "pic32mx",
.mode = COMMAND_ANY,
.help = "pic32mx flash command group",
.usage = "",
.chain = pic32mx_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1451,6 +1451,7 @@ static const struct command_registration stellaris_command_handlers[] = {
.name = "stellaris",
.mode = COMMAND_EXEC,
.help = "Stellaris flash command group",
.usage = "",
.chain = stellaris_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1671,6 +1671,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f1x",
.mode = COMMAND_ANY,
.help = "stm32f1x flash command group",
.usage = "",
.chain = stm32x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -807,6 +807,7 @@ static const struct command_registration stm32x_command_handlers[] = {
.name = "stm32f2x",
.mode = COMMAND_ANY,
.help = "stm32f2x flash command group",
.usage = "",
.chain = stm32x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -740,6 +740,7 @@ static const struct command_registration stm32lx_command_handlers[] =
.name = "stm32lx",
.mode = COMMAND_ANY,
.help = "stm32lx flash command group",
.usage = "",
.chain = stm32lx_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -853,6 +853,7 @@ static const struct command_registration str7x_command_handlers[] = {
.name = "str7x",
.mode = COMMAND_ANY,
.help = "str7x flash command group",
.usage = "",
.chain = str7x_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -735,6 +735,7 @@ static const struct command_registration str9x_command_handlers[] = {
.name = "str9x",
.mode = COMMAND_ANY,
.help = "str9x flash command group",
.usage = "",
.chain = str9x_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1279,6 +1279,7 @@ static const struct command_registration str9xpec_command_handlers[] = {
.name = "str9xpec",
.mode = COMMAND_ANY,
.help = "str9xpec flash command group",
.usage = "",
.chain = str9xpec_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -863,6 +863,7 @@ static const struct command_registration tms470_command_handlers[] = {
.name = "tms470",
.mode = COMMAND_ANY,
.help = "TI tms470 flash command group",
.usage = "",
.chain = tms470_any_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -59,16 +59,19 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "init",
.mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command,
.usage = ""
},
{
.name = "arp_init",
.mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command,
.usage = ""
},
{
.name = "arp_init-reset",
.mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command,
.usage = ""
},
{
.name = "tapisenabled",
......@@ -84,11 +87,13 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "tapdisable",
.mode = COMMAND_EXEC,
.handler = stlink_transport_jtag_command,
.usage = "",
},
{
.name = "configure",
.mode = COMMAND_EXEC,
.handler = stlink_transport_jtag_command,
.usage = "",
},
{
.name = "cget",
......@@ -99,6 +104,7 @@ stlink_transport_jtag_subcommand_handlers[] = {
.name = "names",
.mode = COMMAND_ANY,
.handler = stlink_transport_jtag_command,
.usage = "",
},
COMMAND_REGISTRATION_DONE
......@@ -110,11 +116,13 @@ static const struct command_registration stlink_transport_command_handlers[] = {
.name = "stlink",
.mode = COMMAND_ANY,
.help = "perform stlink actions",
.usage = "",
.chain = stlink_transport_stlink_subcommand_handlers,
},
{
.name = "jtag",
.mode = COMMAND_ANY,
.usage = "",
.chain = stlink_transport_jtag_subcommand_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -5050,6 +5050,7 @@ static int target_create(Jim_GetOptInfo *goi)
.name = cp,
.mode = COMMAND_ANY,
.help = "target command group",
.usage = "",
.chain = target_subcommands,
},
COMMAND_REGISTRATION_DONE
......
......@@ -326,6 +326,7 @@ static const struct command_registration target_req_command_handlers[] = {
.name = "target_request",
.mode = COMMAND_ANY,
.help = "target request command group",
.usage = "",
.chain = target_req_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment