summaryrefslogtreecommitdiff
path: root/common/cmd_flash.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-01-27 18:03:12 -0600
committerWolfgang Denk <wd@denx.de>2009-01-28 08:49:52 +0100
commit2fb2604d5c20beb061b0a94282b7f6eb14d00cb8 (patch)
tree2b78cc5cbc9678d46449d873ef1ac0e02a13f2bc /common/cmd_flash.c
parent79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c
index 2df40f0ee54..510654e1aeb 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"