diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-01-27 18:03:12 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-28 08:49:52 +0100 |
commit | 2fb2604d5c20beb061b0a94282b7f6eb14d00cb8 (patch) | |
tree | 2b78cc5cbc9678d46449d873ef1ac0e02a13f2bc /board/lwmon | |
parent | 79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff) | |
download | u-boot-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.gz u-boot-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.bz2 u-boot-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.zip |
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 <ptyser@xes-inc.com>
Diffstat (limited to 'board/lwmon')
-rw-r--r-- | board/lwmon/lwmon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c index 257f1cd249..1b665a9188 100644 --- a/board/lwmon/lwmon.c +++ b/board/lwmon/lwmon.c @@ -851,7 +851,7 @@ int do_pic (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } U_BOOT_CMD( pic, 4, 1, do_pic, - "pic - read and write PIC registers\n", + "read and write PIC registers", "read reg - read PIC register `reg'\n" "pic write reg val - write value `val' to PIC register `reg'\n" ); @@ -910,7 +910,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( kbd, 1, 1, do_kbd, - "kbd - read keyboard status\n", + "read keyboard status", NULL ); @@ -982,7 +982,7 @@ int do_lsb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( lsb, 2, 1, do_lsb, - "lsb - check and set LSB switch\n", + "check and set LSB switch", "on - switch LSB on\n" "lsb off - switch LSB off\n" "lsb - print current setting\n" |