]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tool_operate: fix links in ipfs errors
authorMarcin Rataj <lidel@lidel.org>
Sun, 15 Oct 2023 23:34:54 +0000 (01:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 Oct 2023 06:42:19 +0000 (08:42 +0200)
URL fragment links generated from headers in
https://curl.se/docs/ipfs.html are lowercase.

Closes #12133

docs/IPFS.md
src/tool_operate.c

index be8c597d9e6f34b959fafa703de04dbe677b0177..e369fffc754b398a1ad64d8685d0b120f2d193f0 100644 (file)
@@ -78,5 +78,5 @@ Alternatively you could set the `IPFS_GATEWAY` environment variable or pass the
 ### Malformed gateway URL
 The command executed evaluates in an invalid URL. This could be anywhere in the URL, but a likely point is a wrong gateway URL.
 
-Inspect your URL.
-Alternatively opt to go for the [automatic](#Automatic-gateway-detection) gateway detection.
+Inspect the URL set via the `IPFS_GATEWAY` environment variable or passed with the `--ipfs-gateway` flag.
+Alternatively opt to go for the [automatic](#automatic-gateway-detection) gateway detection.
index 4991186ebf05b89a96ed8604eeece83758a99eeb..b60f57e0d96ba45b4363e615916d89480a68fe2e 100644 (file)
@@ -865,20 +865,20 @@ clean:
   switch(result) {
   case CURLE_URL_MALFORMAT:
     helpf(tool_stderr, "malformed URL. Visit https://curl.se/"
-          "docs/ipfs.html#Gateway-file-and-"
+          "docs/ipfs.html#gateway-file-and-"
           "environment-variable for more "
           "information");
     break;
   case CURLE_FILE_COULDNT_READ_FILE:
     helpf(tool_stderr, "IPFS automatic gateway detection "
           "failure. Visit https://curl.se/docs/"
-          "ipfs.html#Malformed-gateway-URL for "
+          "ipfs.html#malformed-gateway-url for "
           "more information");
     break;
   case CURLE_BAD_FUNCTION_ARGUMENT:
     helpf(tool_stderr, "--ipfs-gateway argument results in "
           "malformed URL. Visit https://curl.se/"
-          "docs/ipfs.html#Malformed-gateway-URL "
+          "docs/ipfs.html#malformed-gateway-url "
           "for more information");
     break;
   default: