]> granicus.if.org Git - curl/commitdiff
Richard Atterer reverted back what I missed in my previous revert ;-)
authorDaniel Stenberg <daniel@haxx.se>
Sun, 6 Jan 2008 12:56:19 +0000 (12:56 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 6 Jan 2008 12:56:19 +0000 (12:56 +0000)
src/main.c

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