mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
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>
This commit is contained in:
committed by
Wolfgang Denk
parent
79621bc10b
commit
2fb2604d5c
@@ -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"
|
||||
|
Reference in New Issue
Block a user