]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmdline-docs: fix `--proxy-ca-native` example + tidy-ups
authorViktor Szakats <commit@vsz.me>
Mon, 1 Jul 2024 19:25:33 +0000 (21:25 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 1 Jul 2024 22:09:13 +0000 (00:09 +0200)
Also:
- fix an indentation.
- fix capitalized option in comment.

Closes #14078

docs/cmdline-opts/proxy-ca-native.md
src/tool_getparam.c
src/tool_operate.c

index 6158b6cf6f49346dd9de34d78187918bead0f300..fd78f12fbd1cb019eaef99461f110d7fef0b961a 100644 (file)
@@ -12,7 +12,7 @@ See-also:
   - capath
   - insecure
 Example:
-  - --ca-native $URL
+  - --proxy-ca-native $URL
 ---
 
 # `--proxy-ca-native`
index 04b9e8975d79827d549707ac8bf4996c08e0eed7..4c9392cc64c8a45f36a3706021fd4b3c14283241 100644 (file)
@@ -1961,7 +1961,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
     case C_PROGRESS_BAR: /* --progress-bar */
       global->progressmode = toggle ? CURL_PROGRESS_BAR : CURL_PROGRESS_STATS;
       break;
-    case C_VARIABLE: /* --Variable */
+    case C_VARIABLE: /* --variable */
       err = setvariable(global, nextarg);
       break;
     case C_NEXT: /* --next */
index cf696c1655b4fab6ea52f5df0fcaacce9de4af91..36a39c36592eeea58a435459fa65be1f8e52eb20 100644 (file)
 #  define SOL_IP IPPROTO_IP
 #endif
 
-#define CURL_CA_CERT_ERRORMSG                                           \
-  "More details here: https://curl.se/docs/sslcerts.html\n\n"           \
-  "curl failed to verify the legitimacy of the server and therefore "   \
-  "could not\nestablish a secure connection to it. To learn more about " \
+#define CURL_CA_CERT_ERRORMSG                                              \
+  "More details here: https://curl.se/docs/sslcerts.html\n\n"              \
+  "curl failed to verify the legitimacy of the server and therefore "      \
+  "could not\nestablish a secure connection to it. To learn more about "   \
   "this situation and\nhow to fix it, please visit the webpage mentioned " \
   "above.\n"