Message ID | 20241114142040.2051271-1-jerome.forissier@linaro.org |
---|---|
State | Accepted |
Commit | 572b5b0d5a04a255dea7b83d4edfdd71b886f229 |
Headers | show |
Series | net: lwip: wget: update help string | expand |
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!
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
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(-)