aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-12-27 23:33:14 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-12-27 23:33:14 +0100
commit2ee2693a477ccb4389691a069ea17106b78716c6 (patch)
treed329f4bc36990a384ab736e0ad03bcf8bddf6296
parent431ead1c9aed4a065f5668c4f1a1671452b9317b (diff)
curl.1: extend the -X, --request description
-rw-r--r--docs/curl.18
1 files changed, 8 insertions, 0 deletions
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.