]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix help text of ext2load and fatload.
authorPavel Machek <pavel@denx.de>
Wed, 9 Jul 2014 20:40:07 +0000 (22:40 +0200)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:25 +0000 (07:44 -0400)
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>
common/cmd_ext2.c
common/cmd_fat.c

index 9e82f49da70a5a5ff5881f30873ba8f6e621455f..6657ef5ca4797c108d77d7e34307148cdfd4252f 100644 (file)
@@ -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."
 )
index fbe33466fcf05a7b723e38d1aa4dd1a3d5ead9a1..a4780174480ef858a17a9d804214bc518c9b7f44 100644 (file)
@@ -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"