From: Jerome Forissier <jerome.forissier@linaro.org>
Date: Thu, 14 Nov 2024 14:20:40 +0000 (+0100)
Subject: net: lwip: wget: update help string
X-Git-Tag: v2025.01-rc5-pxa1908~94^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=572b5b0d5a04a255dea7b83d4edfdd71b886f229;p=u-boot.git

net: lwip: wget: update help string

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

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---

diff --git a/cmd/net-lwip.c b/cmd/net-lwip.c
index 6f5fc74303..0fd446ecb2 100644
--- a/cmd/net-lwip.c
+++ b/cmd/net-lwip.c
@@ -27,6 +27,9 @@ U_BOOT_CMD(dns, 3, 1, do_dns, "lookup the IP of a hostname",
 #endif
 
 #if defined(CONFIG_CMD_WGET)
-U_BOOT_CMD(wget, 3, 1, do_wget, "boot image via network using HTTP protocol",
-	   "[loadAddress] URL");
+U_BOOT_CMD(wget, 3, 1, do_wget,
+	   "boot image via network using HTTP/HTTPS protocol",
+	   "[loadAddress] url\n"
+	   "wget [loadAddress] [host:]path"
+);
 #endif