diff mbox series

net: lwip: wget: update help string

Message ID 20241114142040.2051271-1-jerome.forissier@linaro.org
State New
Headers show
Series net: lwip: wget: update help string | expand

Commit Message

Jerome Forissier Nov. 14, 2024, 2:20 p.m. UTC
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(-)

Comments

Ilias Apalodimas Nov. 14, 2024, 2:50 p.m. UTC | #1
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>
diff mbox series

Patch

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