summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2014-07-09 22:40:07 +0200
committerTom Rini <trini@ti.com>2014-07-22 07:44:25 -0400
commit6b367467f154f03e154ade92125ae003083aaf7f (patch)
tree3a012b16ace65010106ced76d6baa8848ea8ca71
parent9d16e93dc25025b29d3450537d180fd6e7c72e00 (diff)
downloadu-boot-imx-6b367467f154f03e154ade92125ae003083aaf7f.zip
u-boot-imx-6b367467f154f03e154ade92125ae003083aaf7f.tar.gz
u-boot-imx-6b367467f154f03e154ade92125ae003083aaf7f.tar.bz2
Fix help text of ext2load and fatload.
Fix help text of ext2load and fatload to match code in fs/fs.c Signed-off-by: Pavel Machek <pavel@denx.de> Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r--common/cmd_ext2.c2
-rw-r--r--common/cmd_fat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c
index 9e82f49..6657ef5 100644
--- a/common/cmd_ext2.c
+++ b/common/cmd_ext2.c
@@ -45,7 +45,7 @@ U_BOOT_CMD(
U_BOOT_CMD(
ext2load, 6, 0, do_ext2load,
"load binary file from a Ext2 filesystem",
- "<interface> <dev[:part]> [addr] [filename] [bytes]\n"
+ "<interface> [<dev[:part]> [addr [filename [bytes [pos]]]]]\n"
" - load binary file 'filename' from 'dev' on 'interface'\n"
" to address 'addr' from ext2 filesystem."
)
diff --git a/common/cmd_fat.c b/common/cmd_fat.c
index fbe3346..a478017 100644
--- a/common/cmd_fat.c
+++ b/common/cmd_fat.c
@@ -27,7 +27,7 @@ int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
U_BOOT_CMD(
fatload, 7, 0, do_fat_fsload,
"load binary file from a dos filesystem",
- "<interface> [<dev[:part]>] <addr> <filename> [bytes [pos]]\n"
+ "<interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]\n"
" - Load binary file 'filename' from 'dev' on 'interface'\n"
" to address 'addr' from dos filesystem.\n"
" 'pos' gives the file position to start loading from.\n"