cmd: add missing usage vars

we should have caught them all - hopefully.

Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/381
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
This commit is contained in:
Spencer Oliver
2012-01-16 13:35:23 +00:00
parent eae6353ca4
commit 0c2f8b6eb8
29 changed files with 52 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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