From 6b367467f154f03e154ade92125ae003083aaf7f Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 9 Jul 2014 22:40:07 +0200 Subject: [PATCH] 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 --- common/cmd_ext2.c | 2 +- common/cmd_fat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.5