Skip to content

Commit

Permalink
docs: fix grammar
Browse files Browse the repository at this point in the history
Fixes #7444
Fixes #7451
Fixes #7465
Closes #7495
  • Loading branch information
jsoref authored and jay committed Jul 27, 2021
1 parent 2a4bf88 commit 4d14534
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/cmdline-opts/location.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions docs/cmdline-opts/mail-rcpt-allowfails.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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.
11 changes: 6 additions & 5 deletions docs/cmdline-opts/quote.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
5 changes: 3 additions & 2 deletions docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLLOWFAILS.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 4d14534

@jay
Copy link
Member

@jay jay commented on 4d14534 Jul 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref: #7496

Please sign in to comment.