From 2fb2604d5c20beb061b0a94282b7f6eb14d00cb8 Mon Sep 17 00:00:00 2001 From: Peter Tyser Date: Tue, 27 Jan 2009 18:03:12 -0600 Subject: Command usage cleanup Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser --- board/ssv/common/cmd_sled.c | 2 +- board/ssv/common/wd_pio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'board/ssv') diff --git a/board/ssv/common/cmd_sled.c b/board/ssv/common/cmd_sled.c index cb796982b..99ff50760 100644 --- a/board/ssv/common/cmd_sled.c +++ b/board/ssv/common/cmd_sled.c @@ -156,7 +156,7 @@ int do_sled (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) #endif U_BOOT_CMD (sled, 3, 0, do_sled, - "sled - check and set status led\n", + "check and set status led", "sled [name [state]]\n" __NAME_STR " - state: on|off|blink\n"); #endif #endif /* CONFIG_STATUS_LED */ diff --git a/board/ssv/common/wd_pio.c b/board/ssv/common/wd_pio.c index 8823ed12f..9b384259e 100644 --- a/board/ssv/common/wd_pio.c +++ b/board/ssv/common/wd_pio.c @@ -151,7 +151,7 @@ int do_wd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( wd, 2, 1, do_wd, - "wd - check and set watchdog\n", + "check and set watchdog", "on - switch watchDog on\n" "wd off - switch watchdog off\n" "wd - print current status\n" -- cgit v1.2.3