Skip to contentSkip to conversation

Mismatch between wget online help and accepted syntax

DISCUSSION Heinrich Schuchardt 2 participants 2 messages Dec 5, 2024 – Dec 6, 2024

lore
Share & tools
lore
#0 lore raw

Hello Jerome,

origin/next qemu-riscv64_smode_defconfig with HTTPS enabled showed me:

=> wget 192.168.103.3:/hweb/arm64/helloworld.efi invalid uri, no file path
Invalid URL. Use http(s)://
=> help wget
wget - boot image via network using HTTP/HTTPS protocol

Usage:
wget [loadAddress] url
wget [loadAddress] [host:]path

Here the longtext help is not consistent with the implementation.

Best regards

Heinrich

#1 lore raw

Hi Heinrich,

Quoted 10 lines · Heinrich Schuchardt

Hello Jerome,

origin/next qemu-riscv64_smode_defconfig with HTTPS enabled showed me:

=> wget 192.168.103.3:/hweb/arm64/helloworld.efi invalid uri, no file path
Invalid URL. Use http(s)://
=> help wget
wget - boot image via network using HTTP/HTTPS protocol

Quoted 6 lines

Usage:
wget [loadAddress] url
wget [loadAddress] [host:]path

Here the longtext help is not consistent with the implementation.

It looks like you're missing commit a37064cb2e48 ("net: lwip: wget: fix legacy syntax"),
aren't you?

https://github.com/u-boot/u-boot/commit/a37064cb2e482739908e76d6a53914301c8bb8ee

Regards,

Signature · 1 line
Jerome
Quoted 4 lines

Best regards

Heinrich