From 2ee2693a477ccb4389691a069ea17106b78716c6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 27 Dec 2012 23:33:14 +0100 Subject: [PATCH] curl.1: extend the -X, --request description --- docs/curl.1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/curl.1 b/docs/curl.1 index 6808d07e5..63bf455ad 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -1631,6 +1631,14 @@ details and explanations. Common additional HTTP requests include PUT and DELETE, but related technologies like WebDAV offers PROPFIND, COPY, MOVE and more. +Normally you don't need this option. All sorts of GET, HEAD, POST and PUT +requests are rather invoked by using dedicated command line options. + +This option only changes the actual word used in the HTTP request, it does not +alter the way curl behaves. So for example if you want to make a proper HEAD +request, using -X HEAD will not suffice. You need to use the \fI-I, --head\fP +option. + (FTP) Specifies a custom FTP command to use instead of LIST when doing file lists with FTP.