summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornimaje <16106983+nimaje@users.noreply.github.com>2021-02-05 13:22:35 +0100
committerDaniel Gustafsson <daniel@yesql.se>2021-02-05 13:34:12 +0100
commit373c9155a085d38a10a04d5c418e2f15d8e61926 (patch)
treec51b858bac05c3a241b6a79b6843d9b00e2caede
parent6cd167a0dc1c2a92cd4929e2fddd9d0742a58f5a (diff)
downloadcurl-373c9155a085d38a10a04d5c418e2f15d8e61926.tar.gz
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>
-rw-r--r--docs/MANUAL.md2
-rw-r--r--docs/cmdline-opts/metalink.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/MANUAL.md b/docs/MANUAL.md
index 466ab19d4..79ec4facc 100644
--- a/docs/MANUAL.md
+++ b/docs/MANUAL.md
@@ -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
diff --git a/docs/cmdline-opts/metalink.d b/docs/cmdline-opts/metalink.d
index 883766439..888e80718 100644
--- a/docs/cmdline-opts/metalink.d
+++ b/docs/cmdline-opts/metalink.d
@@ -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