[PATCH] 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 --- 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

On Thu, 14 Nov 2024 at 16:20, Jerome Forissier jerome.forissier@linaro.org wrote:
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
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
Reviewed-by: Ilias Apalodimas ilias.apalodimas@linaro.org

On Thu, Nov 14, 2024 at 03:20:40PM +0100, Jerome Forissier wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Ilias Apalodimas
-
Jerome Forissier
-
Tom Rini