mirror of
https://github.com/curl/curl.git
synced 2026-05-18 02:46:30 +03:00
tidy-up: miscellaneous
- tool_bname: scope an include. - `endif` comments. - Markdown fixes. - comment tidy-ups. - whitespace, newlines, indent. Closes #20309
This commit is contained in:
parent
62ba3604dc
commit
ac6264366f
98 changed files with 829 additions and 863 deletions
|
|
@ -182,7 +182,7 @@ static const struct LongShort aliases[]= {
|
|||
{"ip-tos", ARG_STRG, ' ', C_IP_TOS},
|
||||
#ifndef CURL_DISABLE_IPFS
|
||||
{"ipfs-gateway", ARG_STRG, ' ', C_IPFS_GATEWAY},
|
||||
#endif /* !CURL_DISABLE_IPFS */
|
||||
#endif
|
||||
{"ipv4", ARG_NONE, '4', C_IPV4},
|
||||
{"ipv6", ARG_NONE, '6', C_IPV6},
|
||||
{"json", ARG_STRG, ' ', C_JSON},
|
||||
|
|
@ -2388,7 +2388,7 @@ static ParameterError opt_string(struct OperationConfig *config,
|
|||
case C_IPFS_GATEWAY: /* --ipfs-gateway */
|
||||
err = getstr(&config->ipfs_gateway, nextarg, DENY_BLANK);
|
||||
break;
|
||||
#endif /* !CURL_DISABLE_IPFS */
|
||||
#endif
|
||||
case C_AWS_SIGV4: /* --aws-sigv4 */
|
||||
config->authtype |= CURLAUTH_AWS_SIGV4;
|
||||
err = getstr(&config->aws_sigv4, nextarg, ALLOW_BLANK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue