diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-08 23:23:55 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-08 23:23:55 -0800 |
commit | 973cd9a299d904ab22bb089319beab65c339d783 (patch) | |
tree | 5f835d58e391fdad5ee26757eae6f5a1e9fe988e /src/pld/virtex2.c | |
parent | 2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a (diff) | |
download | riscv-openocd-973cd9a299d904ab22bb089319beab65c339d783.zip riscv-openocd-973cd9a299d904ab22bb089319beab65c339d783.tar.gz riscv-openocd-973cd9a299d904ab22bb089319beab65c339d783.tar.bz2 |
PLD: usage/help updates
Make "usage" messages use the same EBNF as the User's Guide;
no angle brackets. Improve and correct various helptexts.
Don't use "&function"; a function's name is its address.
Remove a couple instances of pointless whitespace, shrink
a few overlong lines.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/pld/virtex2.c')
-rw-r--r-- | src/pld/virtex2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 77eb866..bbf6b66 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -237,9 +237,9 @@ static const struct command_registration virtex2_exec_command_handlers[] = { { .name = "read_stat", .mode = COMMAND_EXEC, - .handler = &virtex2_handle_read_stat_command, + .handler = virtex2_handle_read_stat_command, .help = "read status register", - .usage = "<device_id>", + .usage = "pld_num", }, COMMAND_REGISTRATION_DONE }; |