From: Viktor Szakats Date: Mon, 1 Jul 2024 19:25:33 +0000 (+0200) Subject: cmdline-docs: fix `--proxy-ca-native` example + tidy-ups X-Git-Tag: curl-8_9_0~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9484beaa498e62d54583ddbd2ecbcff87cf4a9ce;p=thirdparty%2Fcurl.git cmdline-docs: fix `--proxy-ca-native` example + tidy-ups Also: - fix an indentation. - fix capitalized option in comment. Closes #14078 --- diff --git a/docs/cmdline-opts/proxy-ca-native.md b/docs/cmdline-opts/proxy-ca-native.md index 6158b6cf6f..fd78f12fbd 100644 --- a/docs/cmdline-opts/proxy-ca-native.md +++ b/docs/cmdline-opts/proxy-ca-native.md @@ -12,7 +12,7 @@ See-also: - capath - insecure Example: - - --ca-native $URL + - --proxy-ca-native $URL --- # `--proxy-ca-native` diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 04b9e8975d..4c9392cc64 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -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 */ diff --git a/src/tool_operate.c b/src/tool_operate.c index cf696c1655..36a39c3659 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -104,10 +104,10 @@ # 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"