[PATCH] cmd: fs: document where 'size' stores its result

Baruch Siach baruch at tkos.co.il
Sun May 7 12:48:06 CEST 2023


Make it a little bit easier for the user to utilize the 'size' command.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 cmd/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/fs.c b/cmd/fs.c
index 5ad11647c2d3..6044f73af5b4 100644
--- a/cmd/fs.c
+++ b/cmd/fs.c
@@ -20,7 +20,7 @@ U_BOOT_CMD(
 	"determine a file's size",
 	"<interface> <dev[:part]> <filename>\n"
 	"    - Find file 'filename' from 'dev' on 'interface'\n"
-	"      and determine its size."
+	"      determine its size, and store in the 'filesize' variable."
 );
 
 static int do_load_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
-- 
2.39.2



More information about the U-Boot mailing list