aboutsummaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-01-16 13:35:23 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-18 21:45:02 +0000
commit0c2f8b6eb8f4b379aa0c78caba73ec1ebaae8414 (patch)
tree3f8761f0c60686a39c4b82b7ef48beb1c24aaf27 /src/pld
parenteae6353ca459e38289d6d619772ef88ad24cc5c8 (diff)
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>
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/pld.c2
-rw-r--r--src/pld/virtex2.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/pld/pld.c b/src/pld/pld.c
index b2623613..08a537c0 100644
--- a/src/pld/pld.c
+++ b/src/pld/pld.c
@@ -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
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index f4aed34f..74fcc40d 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -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