mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
docs: fix FILE example url in --metalink documentation
In a url after <scheme>:// follows the possibly empty authority part till the next /, so that url missed a /. Closes #6573 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
parent
6cd167a0dc
commit
373c9155a0
@ -968,7 +968,7 @@ Example to use a remote Metalink file:
|
||||
To use a Metalink file in the local file system, use FILE protocol
|
||||
(`file://`):
|
||||
|
||||
curl --metalink file://example.metalink
|
||||
curl --metalink file:///example.metalink
|
||||
|
||||
Please note that if FILE protocol is disabled, there is no way to use a local
|
||||
Metalink file at the time of this writing. Also note that if `--metalink` and
|
||||
|
@ -17,7 +17,7 @@ Example to use a remote Metalink file:
|
||||
|
||||
To use a Metalink file in the local file system, use FILE protocol (file://):
|
||||
|
||||
curl --metalink file://example.metalink
|
||||
curl --metalink file:///example.metalink
|
||||
|
||||
Please note that if FILE protocol is disabled, there is no way to use a local
|
||||
Metalink file at the time of this writing. Also note that if --metalink and
|
||||
|
Loading…
x
Reference in New Issue
Block a user