]> granicus.if.org Git - curl/commitdiff
curl: remove "--socks" as "--socks5" turned 8
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 21:47:03 +0000 (23:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 22:31:37 +0000 (00:31 +0200)
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.

src/tool_getparam.c

index dc5fbd8f6599998f26d2508008f3238289efda6b..d60e04c82013f54c0f0881718e58214c06873a7a 100644 (file)
@@ -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},