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 /common/cmd_flash.c | |
parent | 79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff) | |
download | u-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.zip u-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.gz u-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.bz2 |
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 'common/cmd_flash.c')
-rw-r--r-- | common/cmd_flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index 2df40f0..510654e 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c @@ -710,14 +710,14 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last) U_BOOT_CMD( flinfo, 2, 1, do_flinfo, - "flinfo - print FLASH memory information\n", + "print FLASH memory information", "\n - print information for all FLASH memory banks\n" "flinfo N\n - print information for FLASH memory bank # N\n" ); U_BOOT_CMD( erase, 3, 0, do_flerase, - "erase - erase FLASH memory\n", + "erase FLASH memory", "start end\n" " - erase FLASH from addr 'start' to addr 'end'\n" "erase start +len\n" @@ -731,7 +731,7 @@ U_BOOT_CMD( U_BOOT_CMD( protect, 4, 0, do_protect, - "protect - enable or disable FLASH write protection\n", + "enable or disable FLASH write protection", "on start end\n" " - protect FLASH from addr 'start' to addr 'end'\n" "protect on start +len\n" |