1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Richard Atterer reverted back what I missed in my previous revert ;-)

This commit is contained in:
Daniel Stenberg 2008-01-06 12:56:19 +00:00
parent cadd08f36a
commit 195e94c0fa

View File

@ -1517,7 +1517,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
{"*z", "disable-eprt", FALSE}, {"*z", "disable-eprt", FALSE},
{"$a", "ftp-ssl", FALSE}, {"$a", "ftp-ssl", FALSE},
{"$b", "ftp-pasv", FALSE}, {"$b", "ftp-pasv", FALSE},
{"$c", "socks5ip", TRUE}, {"$c", "socks5", TRUE},
{"$c", "socks", TRUE}, /* this is how the option once was documented {"$c", "socks", TRUE}, /* this is how the option once was documented
but we prefer the --socks5 version for but we prefer the --socks5 version for
explicit version */ explicit version */
@ -1547,7 +1547,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
{"$#", "raw", FALSE}, {"$#", "raw", FALSE},
{"$0", "post301", FALSE}, {"$0", "post301", FALSE},
{"$1", "no-keep-alive", FALSE}, {"$1", "no-keep-alive", FALSE},
{"$2", "socks5", TRUE}, {"$2", "socks5-hostname", TRUE},
{"0", "http1.0", FALSE}, {"0", "http1.0", FALSE},
{"1", "tlsv1", FALSE}, {"1", "tlsv1", FALSE},