aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/lpc2000.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-01-09 16:14:18 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-12 20:45:01 +0000
commit2a34cc8eb6a8431ecebad1279d19ce919978a778 (patch)
tree4851ff907f3070470b303cadb51555f7ba4c62b5 /src/flash/nor/lpc2000.c
parent0aefdbd446ed35bbc507c517b96e99d5e6e01e3d (diff)
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
Diffstat (limited to 'src/flash/nor/lpc2000.c')
-rw-r--r--src/flash/nor/lpc2000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c
index b4e17e7e..b9b04fef 100644
--- a/src/flash/nor/lpc2000.c
+++ b/src/flash/nor/lpc2000.c
@@ -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