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

Make it a little bit easier for the user to utilize the 'size' command.
Signed-off-by: Baruch Siach baruch@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,

On Sun, 7 May 2023 at 04:48, Baruch Siach baruch@tkos.co.il wrote:
Make it a little bit easier for the user to utilize the 'size' command.
Signed-off-by: Baruch Siach baruch@tkos.co.il
cmd/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
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

On Sun, May 07, 2023 at 01:48:06PM +0300, Baruch Siach wrote:
Make it a little bit easier for the user to utilize the 'size' command.
Signed-off-by: Baruch Siach baruch@tkos.co.il Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/next, thanks!
participants (3)
-
Baruch Siach
-
Simon Glass
-
Tom Rini