From 973cd9a299d904ab22bb089319beab65c339d783 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Fri, 8 Jan 2010 23:23:55 -0800 Subject: 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 --- src/pld/virtex2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pld/virtex2.c') diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 77eb8669..bbf6b667 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 = "", + .usage = "pld_num", }, COMMAND_REGISTRATION_DONE }; -- cgit v1.2.3-18-g5258