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:
nimaje 2021-02-05 13:22:35 +01:00 committed by Daniel Gustafsson
parent 6cd167a0dc
commit 373c9155a0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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