]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix FILE example url in --metalink documentation
authornimaje <16106983+nimaje@users.noreply.github.com>
Fri, 5 Feb 2021 12:22:35 +0000 (13:22 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Fri, 5 Feb 2021 12:34:12 +0000 (13:34 +0100)
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>
docs/MANUAL.md
docs/cmdline-opts/metalink.d

index 466ab19d4daa7b07a9ae06fa4059accf3c5721e2..79ec4facc6d7b7af1c0c46e58d67e439a22254b0 100644 (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
index 88376643975db72ad263dde83dd8c0172da7d430..888e80718118149c6529befa91aedc2f145f0a3e 100644 (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