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

Signed-off-by: Jerome Forissier <[email protected]>
---
 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

Reply via email to