From 9484beaa498e62d54583ddbd2ecbcff87cf4a9ce Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 1 Jul 2024 21:25:33 +0200 Subject: [PATCH] cmdline-docs: fix `--proxy-ca-native` example + tidy-ups Also: - fix an indentation. - fix capitalized option in comment. Closes #14078 --- docs/cmdline-opts/proxy-ca-native.md | 2 +- src/tool_getparam.c | 2 +- src/tool_operate.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) 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" -- 2.47.3