diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-11-08 10:56:03 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-11-08 10:56:03 +0100 |
commit | 152578fb33f0c1a04a42646f300cfa75dbb630f6 (patch) | |
tree | 70096a170c6580d2dd6b0eb2d8e6e46edc8a10bc /docs | |
parent | 0a41318f1d92ad9793de215c2e447af4093c70ef (diff) |
curl.1: --resolve documented
Diffstat (limited to 'docs')
-rw-r--r-- | docs/curl.1 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index b2b8f2b71..7aef004ca 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -1142,6 +1142,18 @@ encodings and instead makes them passed on unaltered, raw. (Added in 7.16.2) When used, this will make libcurl attempt to figure out the timestamp of the remote file, and if that is available make the local file get that same timestamp. +.IP "--resolve <host:port:address>" +Provide a custom address for a specific host and port pair. Using this, you +can make the curl requests(s) use a specified address and prevent the +otherwise normally resolved address to be used. Consider it a sort of +/etc/hosts alternative provided on the command line. The port number should be +the number used for the specific protocol the host will be used for. It means +you need several entries if you want to provide address for the same host but +different ports. + +This option can be used many times to add many host names to resolve. + +(Added in 7.21.3) .IP "--retry <num>" If a transient error is returned when curl tries to perform a transfer, it will retry this number of times before giving up. Setting the number to 0 |