From: Pavel Machek Date: Wed, 9 Jul 2014 20:40:07 +0000 (+0200) Subject: Fix help text of ext2load and fatload. X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6b367467f154f03e154ade92125ae003083aaf7f;p=u-boot.git 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 Reviewed-by: Marek Vasut --- diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c index 9e82f49da7..6657ef5ca4 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", - " [addr] [filename] [bytes]\n" + " [ [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 fbe33466fc..a478017448 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", - " [] [bytes [pos]]\n" + " [ [ [ [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"