From: Daniel Stenberg Date: Tue, 8 Aug 2023 13:44:14 +0000 (+0200) Subject: request.d: use .TP for protocol "labels" X-Git-Tag: curl-8_3_0~191 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bd6d4dee1187fde2e696286e4b38bd0b53f9689;p=thirdparty%2Fcurl.git request.d: use .TP for protocol "labels" To render the section nicer in man page. Closes #11630 --- diff --git a/docs/cmdline-opts/request.d b/docs/cmdline-opts/request.d index f428eba615..4e5c8be401 100644 --- a/docs/cmdline-opts/request.d +++ b/docs/cmdline-opts/request.d @@ -11,7 +11,11 @@ Added: 6.0 See-also: request-target Multi: single --- -(HTTP) Specifies a custom request method to use when communicating with the +Change the method to use when starting the transfer. +.RS +.TP 15 +**HTTP** +Specifies a custom request method to use when communicating with the HTTP server. The specified request method will be used instead of the method otherwise used (which defaults to *GET*). Read the HTTP 1.1 specification for details and explanations. Common additional HTTP requests include *PUT* and @@ -29,17 +33,19 @@ The method string you set with --request will be used for all requests, which if you for example use --location may cause unintended side-effects when curl does not change request method according to the HTTP 30x response codes - and similar. - -(FTP) +.TP +**FTP** Specifies a custom FTP command to use instead of *LIST* when doing file lists with FTP. - -(POP3) +.TP +**POP3** Specifies a custom POP3 command to use instead of *LIST* or *RETR*. (Added in 7.26.0) - -(IMAP) +.TP +**IMAP** Specifies a custom IMAP command to use instead of *LIST*. (Added in 7.30.0) - -(SMTP) +.TP +**SMTP** Specifies a custom SMTP command to use instead of *HELP* or *VRFY*. (Added in 7.34.0) +.RE +.IP