]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix grammar
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Mon, 26 Jul 2021 06:54:13 +0000 (02:54 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 27 Jul 2021 17:44:30 +0000 (13:44 -0400)
Fixes https://github.com/curl/curl/issues/7444
Fixes https://github.com/curl/curl/issues/7451
Fixes https://github.com/curl/curl/issues/7465
Closes https://github.com/curl/curl/pull/7495

docs/cmdline-opts/location.d
docs/cmdline-opts/mail-rcpt-allowfails.d
docs/cmdline-opts/quote.d
docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLLOWFAILS.3

index c70b2eba885cc156d41d03d43a4b8a28d83ce658..6bf763d3ade28850c516e5abc0d007bed82e4ab5 100644 (file)
@@ -14,7 +14,7 @@ intercept the user+password. See also --location-trusted on how to change
 this. You can limit the amount of redirects to follow by using the
 --max-redirs option.
 
-When curl follows a redirect and if the request is a POST, it will do the
+When curl follows a redirect and if the request is a POST, it will send the
 following request with a GET if the HTTP response was 301, 302, or 303. If the
 response code was any other 3xx code, curl will re-send the following request
 using the same unmodified method.
index 76457c32ea984f5986916823c6935a39eb30c863..e96be3e711ebbad37dc94e8d75542bce2a44ea05 100644 (file)
@@ -12,5 +12,6 @@ The default behavior can be changed by passing --mail-rcpt-allowfails
 command-line option which will make curl ignore errors and proceed with the
 remaining valid recipients.
 
-In case when all recipients cause RCPT TO command to fail, curl will abort SMTP
-conversation and return the error received from to the last RCPT TO command.
\ No newline at end of file
+If all recipients trigger RCPT TO failures and this flag is specified, curl
+will still abort the SMTP conversation and return the error received from to
+the last RCPT TO command.
index 6e4fd08f1be075821e3f212e42d28b440165ab5f..f0e7be7a503e439c78fe423ac5600598132f2b25 100644 (file)
@@ -14,12 +14,13 @@ has changed the working directory, just before the transfer command(s), prefix
 the command with a '+' (this is only supported for FTP). You may specify any
 number of commands.
 
-If the server returns failure for one of the commands, the entire operation
-will be aborted. You must send syntactically correct FTP commands as RFC 959
-defines to FTP servers, or one of the commands listed below to SFTP servers.
+By default curl will stop at first failure. To make curl continue even if the
+command fails, prefix the command with an asterisk (*). Otherwise, if the
+server returns failure for one of the commands, the entire operation will be
+aborted.
 
-Prefix the command with an asterisk (*) to make curl continue even if the
-command fails as by default curl will stop at first failure.
+You must send syntactically correct FTP commands as RFC 959 defines to FTP
+servers, or one of the commands listed below to SFTP servers.
 
 This option can be used multiple times.
 
index 0c02da3d6606446fefcf1c15ee708ee676af5c1d..79fca084f71282e892f2ab28f17842b6bb368b1c 100644 (file)
@@ -39,8 +39,9 @@ return an error.
 The default behavior can be changed by setting \fIignore\fP to 1L which will
 make curl ignore errors and proceed with the remaining valid recipients.
 
-In case when all recipients cause RCPT TO command to fail, curl will abort SMTP
-conversation and return the error received from to the last RCPT TO command.
+If all recipients trigger RCPT TO failures and this flag is specified, curl
+will still abort the SMTP conversation and return the error received from to
+the last RCPT TO command.
 .SH DEFAULT
 0
 .SH PROTOCOLS