[PATCH] net: lwip: wget: update help string

Jerome Forissier jerome.forissier at linaro.org
Thu Nov 14 15:20:40 CET 2024


The lwIP version of wget also supports the legacy syntax. Document it in
the help string.

Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
---
 cmd/net-lwip.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmd/net-lwip.c b/cmd/net-lwip.c
index 42f8bd6b259..4dc97c6e184 100644
--- a/cmd/net-lwip.c
+++ b/cmd/net-lwip.c
@@ -39,7 +39,8 @@ U_BOOT_CMD(
 #if defined(CONFIG_CMD_WGET)
 U_BOOT_CMD(
 	wget,   3,      1,      do_wget,
-	"boot image via network using HTTP protocol",
-	"[loadAddress] URL"
+	"boot image via network using HTTP/HTTPS protocol",
+	"[loadAddress] url\n"
+	"wget [loadAddress] [host:]path"
 );
 #endif
-- 
2.40.1



More information about the U-Boot mailing list