aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-28 23:47:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-29 00:31:37 +0200
commitce7826f613205a9263bb2ef1da80f2ae36dd0aec (patch)
tree6b9cd6bf3b2385efb3bb072a7832b167a8a6fd3b
parent394d7917b7f8b20d41c67fecfb898e20d3e4afe4 (diff)
curl: remove "--socks" as "--socks5" turned 8
In commit 2e42b0a2524 (Jan 2008) we made the option "--socks" deprecated and it has not been documented since. The more explicit socks options (like --socks4 or --socks5) should be used.
-rw-r--r--src/tool_getparam.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index dc5fbd8f6..d60e04c82 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -121,9 +121,6 @@ static const struct LongShort aliases[]= {
/* 'ssl' new option name in 7.20.0, previously this was ftp-ssl */
{"$b", "ftp-pasv", FALSE},
{"$c", "socks5", TRUE},
- {"$c", "socks", TRUE},
- /* 'socks' is how the option once was documented but we prefer
- the --socks5 version for explicit version */
{"$d", "tcp-nodelay", FALSE},
{"$e", "proxy-digest", FALSE},
{"$f", "proxy-basic", FALSE},