mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
ebf18468c0
To make the man page more readable, this change removes all references to changes in support/versions etc that happened before 7.30.0 from the curl.1 output file. 7.30.0 was released on Apr 12 2013. This particular limit is a bit arbitrary but was fairly easy to grep for. It is handled like this: the 'Added' keyword is only used in output if it refers to 7.30.0 or later. All occurances of "(Added in $VERSION)" in description will be stripped out if the mentioned $VERSION is from before 7.30.0. It is therefore important that the "Added in..." references are always written exactly like that - and on a single line, not split over two. This change removes about 80 version number references from curl.1, down to 138 from 218. Closes #7786
22 lines
838 B
D
22 lines
838 B
D
Long: socks5-hostname
|
|
Arg: <host[:port]>
|
|
Help: SOCKS5 proxy, pass host name to proxy
|
|
Added: 7.18.0
|
|
Category: proxy
|
|
Example: --socks5-hostname proxy.example:7000 $URL
|
|
---
|
|
Use the specified SOCKS5 proxy (and let the proxy resolve the host name). If
|
|
the port number is not specified, it is assumed at port 1080.
|
|
|
|
This option overrides any previous use of --proxy, as they are mutually
|
|
exclusive.
|
|
|
|
This option is superfluous since you can specify a socks5 hostname proxy with
|
|
--proxy using a socks5h:// protocol prefix. (Added in 7.21.7)
|
|
|
|
Since 7.52.0, --preproxy can be used to specify a SOCKS proxy at the same time
|
|
--proxy is used with an HTTP/HTTPS proxy. In such a case curl first connects to
|
|
the SOCKS proxy and then connects (through SOCKS) to the HTTP or HTTPS proxy.
|
|
|
|
If this option is used several times, the last one will be used.
|