From 572b5b0d5a04a255dea7b83d4edfdd71b886f229 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Thu, 14 Nov 2024 15:20:40 +0100 Subject: [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 Reviewed-by: Ilias Apalodimas --- cmd/net-lwip.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5