Skip to content

Commit

Permalink
spellcheck: adapt to backslashed minuses
Browse files Browse the repository at this point in the history
As the curl.1 has more backslashed minus, the cleanup sed lines xneed to
adapt.

Adjusted some docs slighly.

Follow-up to 439ff20

Closes curl#11663
  • Loading branch information
bagder committed Aug 12, 2023
1 parent 439ff20 commit 0efe8b2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/spellcheck.words
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,8 @@ Viktor
VM
VMS
VMware
VRF
VRFY
VSE
vsprintf
vt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: trim the curl.1 markdown file
run: |
perl -pi -e 's/^ .*//' docs/curl.md
perl -pi -e 's/--[a-z0-9-]*//ig' docs/curl.md
perl -pi -e 's/\-\-[\a-z0-9-]*//ig' docs/curl.md
perl -pi -e 's!https://[a-z0-9%/.-]*!!ig' docs/curl.md
- name: setup the custom wordlist
Expand Down
7 changes: 4 additions & 3 deletions docs/cmdline-opts/login-options.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Multi: single
Specify the login options to use during server authentication.

You can use login options to specify protocol specific options that may be
used during authentication. At present only IMAP, POP3 and SMTP support
login options. For more information about login options please see RFC
2384, RFC 5092 and the IETF draft **draft-earhart-url-smtp-00.txt**.
used during authentication. At present only IMAP, POP3 and SMTP support login
options. For more information about login options please see RFC 2384,
RFC 5092 and the IETF draft
https://datatracker.ietf.org/doc/html/draft-earhart-url-smtp-00.

Since 8.2.0, IMAP supports the login option "AUTH=+LOGIN". With this option,
curl uses the plain (not SASL) LOGIN IMAP command even if the server advertises
Expand Down
2 changes: 1 addition & 1 deletion docs/cmdline-opts/mail-rcpt.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Multi: append
Specify a single email address, user name or mailing list name. Repeat this
option several times to send to multiple recipients.

When performing an address verification (*VRFY* command), the recipient should be
When performing an address verification (**VRFY** command), the recipient should be
specified as the user name or user name and domain (as per Section 3.5 of
RFC 5321). (Added in 7.34.0)

Expand Down
10 changes: 5 additions & 5 deletions docs/cmdline-opts/output.d
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ You may use this option as many times as the number of URLs you have. For
example, if you specify two URLs on the same command line, you can use it like
this:

curl -o aa example.com -o bb example.net
curl -o aa example.com -o bb example.net

and the order of the -o options and the URLs does not matter, just that the
first -o is for the first URL and so on, so the above command line can also be
written as

curl example.com example.net -o aa -o bb
curl example.com example.net -o aa -o bb

See also the --create-dirs option to create the local directories
dynamically. Specifying the output as '-' (a single dash) will force the
output to be done to stdout.

To suppress response bodies, you can redirect output to /dev/null:

curl example.com -o /dev/null
curl example.com -o /dev/null

Or for Windows use **nul**:
Or for Windows:

curl example.com -o nul
curl example.com -o nul
2 changes: 1 addition & 1 deletion docs/cmdline-opts/request.d
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ Specifies a custom POP3 command to use instead of *LIST* or *RETR*.
Specifies a custom IMAP command to use instead of *LIST*. (Added in 7.30.0)
.TP
**SMTP**
Specifies a custom SMTP command to use instead of *HELP* or *VRFY*. (Added in 7.34.0)
Specifies a custom SMTP command to use instead of *HELP* or **VRFY**. (Added in 7.34.0)
.RE
.IP

0 comments on commit 0efe8b2

Please sign in to comment.