Commit 0c2f8b6e authored by Spencer Oliver's avatar Spencer Oliver
Browse files

cmd: add missing usage vars



we should have caught them all - hopefully.

Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582
Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/381


Tested-by: jenkins
Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
parent eae6353c
......@@ -1386,6 +1386,7 @@ static const struct command_registration mflash_config_command_handlers[] = {
.mode = COMMAND_CONFIG,
.handler = handle_mflash_init_command,
.help = "initialize mflash devices",
.usage = ""
},
COMMAND_REGISTRATION_DONE
};
......@@ -1394,6 +1395,7 @@ static const struct command_registration mflash_command_handler[] = {
.name = "mflash",
.mode = COMMAND_ANY,
.help = "mflash command group",
.usage = "",
.chain = mflash_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -716,6 +716,7 @@ static const struct command_registration at91sam9_command_handler[] = {
.name = "at91sam9",
.mode = COMMAND_ANY,
.help = "AT91SAM9 NAND flash controller commands",
.usage = "",
.chain = at91sam9_sub_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1338,6 +1338,7 @@ static const struct command_registration lpc3180_command_handler[] = {
.name = "lpc3180",
.mode = COMMAND_ANY,
.help = "LPC3180 NAND flash controller commands",
.usage = "",
.chain = lpc3180_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1806,6 +1806,7 @@ static const struct command_registration lpc32xx_command_handler[] = {
.name = "lpc32xx",
.mode = COMMAND_ANY,
.help = "LPC32xx NAND flash controller commands",
.usage = "",
.chain = lpc32xx_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -629,12 +629,14 @@ static const struct command_registration nand_config_command_handlers[] = {
.handler = &handle_nand_list_drivers,
.mode = COMMAND_ANY,
.help = "lists available NAND drivers",
.usage = ""
},
{
.name = "init",
.mode = COMMAND_CONFIG,
.handler = &handle_nand_init_command,
.help = "initialize NAND devices",
.usage = ""
},
COMMAND_REGISTRATION_DONE
};
......@@ -643,6 +645,7 @@ static const struct command_registration nand_command_handlers[] = {
.name = "nand",
.mode = COMMAND_ANY,
.help = "NAND flash command group",
.usage = "",
.chain = nand_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -863,6 +863,7 @@ static const struct command_registration jtag_subcommand_handlers[] = {
.mode = COMMAND_ANY,
.handler = handle_jtag_init_command,
.help = "initialize jtag scan chain",
.usage = ""
},
{
.name = "arp_init",
......@@ -1356,6 +1357,7 @@ static const struct command_registration jtag_command_handlers[] = {
.handler = handle_scan_chain_command,
.mode = COMMAND_ANY,
.help = "print current scan chain configuration",
.usage = ""
},
{
.name = "jtag_reset",
......@@ -1420,6 +1422,7 @@ static const struct command_registration jtag_command_handlers[] = {
.name = "jtag",
.mode = COMMAND_ANY,
.help = "perform jtag tap actions",
.usage = "",
.chain = jtag_subcommand_handlers,
},
......
......@@ -244,6 +244,7 @@ static const struct command_registration pld_config_command_handlers[] = {
.mode = COMMAND_CONFIG,
.handler = handle_pld_init_command,
.help = "initialize PLD devices",
.usage = ""
},
COMMAND_REGISTRATION_DONE
};
......@@ -252,6 +253,7 @@ static const struct command_registration pld_command_handler[] = {
.name = "pld",
.mode = COMMAND_ANY,
.help = "programmable logic device commands",
.usage = "",
.chain = pld_config_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -238,6 +238,7 @@ static const struct command_registration virtex2_command_handler[] = {
.name = "virtex2",
.mode = COMMAND_ANY,
.help = "Virtex-II specific commands",
.usage = "",
.chain = virtex2_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -2603,6 +2603,7 @@ static const struct command_registration gdb_command_handlers[] = {
.help = "next stepi will return immediately allowing "
"GDB to fetch register state without affecting "
"target state",
.usage = ""
},
{
.name = "gdb_port",
......
......@@ -625,6 +625,7 @@ static const struct command_registration server_command_handlers[] = {
.name = "shutdown",
.handler = &handle_shutdown_command,
.mode = COMMAND_ANY,
.usage = "",
.help = "shut the server down",
},
COMMAND_REGISTRATION_DONE
......
......@@ -611,6 +611,7 @@ static const struct command_registration telnet_command_handlers[] = {
.name = "exit",
.handler = handle_exit_command,
.mode = COMMAND_EXEC,
.usage = "",
.help = "exit telnet session",
},
{
......
......@@ -1355,6 +1355,7 @@ static const struct command_registration arm11_any_command_handlers[] = {
.name = "memwrite",
.mode = COMMAND_ANY,
.help = "memwrite command group",
.usage = "",
.chain = arm11_mw_command_handlers,
},
{
......@@ -1386,6 +1387,7 @@ static const struct command_registration arm11_command_handlers[] = {
.name = "arm11",
.mode = COMMAND_ANY,
.help = "ARM11 command group",
.usage = "",
.chain = arm11_any_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -570,6 +570,7 @@ static const struct command_registration arm720t_command_handlers[] = {
.name = "arm720t",
.mode = COMMAND_ANY,
.help = "arm720t command group",
.usage = "",
.chain = arm720t_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -2999,6 +2999,7 @@ const struct command_registration arm7_9_command_handlers[] = {
.name = "arm7_9",
.mode = COMMAND_ANY,
.help = "arm7/9 specific commands",
.usage = "",
.chain = arm7_9_any_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1724,6 +1724,7 @@ static const struct command_registration arm920t_exec_command_handlers[] = {
.name = "cache_info",
.handler = arm920t_handle_cache_info_command,
.mode = COMMAND_EXEC,
.usage = "",
.help = "display information about target caches",
},
{
......@@ -1750,6 +1751,7 @@ const struct command_registration arm920t_command_handlers[] = {
.name = "arm920t",
.mode = COMMAND_ANY,
.help = "arm920t command group",
.usage = "",
.chain = arm920t_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -801,6 +801,7 @@ static const struct command_registration arm926ejs_exec_command_handlers[] = {
.name = "cache_info",
.handler = arm926ejs_handle_cache_info_command,
.mode = COMMAND_EXEC,
.usage = "",
.help = "display information about target caches",
},
......@@ -814,6 +815,7 @@ const struct command_registration arm926ejs_command_handlers[] = {
.name = "arm926ejs",
.mode = COMMAND_ANY,
.help = "arm926ejs command group",
.usage = "",
.chain = arm926ejs_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -657,6 +657,7 @@ const struct command_registration arm946e_command_handlers[] = {
.name = "arm946e",
.mode = COMMAND_ANY,
.help = "arm946e command group",
.usage = "",
.chain = arm946e_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -247,6 +247,7 @@ const struct command_registration arm966e_command_handlers[] = {
.name = "arm966e",
.mode = COMMAND_ANY,
.help = "arm966e command group",
.usage = "",
.chain = arm966e_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -927,6 +927,7 @@ const struct command_registration arm9tdmi_command_handlers[] = {
.name = "arm9",
.mode = COMMAND_ANY,
.help = "arm9 command group",
.usage = "",
.chain = arm9tdmi_exec_command_handlers,
},
COMMAND_REGISTRATION_DONE
......
......@@ -1975,6 +1975,7 @@ const struct command_registration dap_command_handlers[] = {
.name = "dap",
.mode = COMMAND_EXEC,
.help = "DAP command group",
.usage = "",
.chain = dap_commands,
},
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