aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/socks5-hostname.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/socks5-hostname.d')
-rw-r--r--docs/cmdline-opts/socks5-hostname.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/cmdline-opts/socks5-hostname.d b/docs/cmdline-opts/socks5-hostname.d
new file mode 100644
index 000000000..d971766af
--- /dev/null
+++ b/docs/cmdline-opts/socks5-hostname.d
@@ -0,0 +1,15 @@
+Long: socks5-hostname
+Arg: <host[:port]>
+Help: SOCKS5 proxy, pass host name to proxy
+Added: 7.18.0
+---
+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.
+
+Since 7.21.7, this option is superfluous since you can specify a socks5
+hostname proxy with --proxy using a socks5h:// protocol prefix.
+
+If this option is used several times, the last one will be used.