]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Added reordering of addresses to try IPv4 first and the associated
[wget] / src / main.c
index 065d215af7b39a4d2c1a9a0a58c8fcc5eb4693c5..4d2163abfca5fd96e1f637c770c6457b594b5496 100644 (file)
@@ -214,6 +214,7 @@ struct cmdline_option option_data[] =
     { "passive-ftp", 0, OPT_BOOLEAN, "passiveftp", -1 },
     { "post-data", 0, OPT_VALUE, "postdata", -1 },
     { "post-file", 0, OPT_VALUE, "postfile", -1 },
+    { "prefer-family", 0, OPT_VALUE, "preferfamily", -1 },
     { "preserve-permissions", 0, OPT_BOOLEAN, "preservepermissions", -1 },
     { "progress", 0, OPT_VALUE, "progress", -1 },
     { "protocol-directories", 0, OPT_BOOLEAN, "protocoldirectories", -1 },
@@ -465,6 +466,9 @@ Download:\n"),
   -4,  --inet4-only              connect only to IPv4 addresses.\n"),
     N_("\
   -6,  --inet6-only              connect only to IPv6 addresses.\n"),
+    N_("\
+       --prefer-family=FAMILY    connect first to addresses of specified family,\n\
+                                 one of IPv6, IPv4, or none.\n"),
 #endif
     "\n",
 
@@ -531,8 +535,6 @@ HTTPS (SSL) options:\n"),
        --sslcertfile=FILE    optional client certificate.\n"),
     N_("\
        --sslcertkey=KEYFILE  optional keyfile for this certificate.\n"),
-    N_("\
-       --egd-file=FILE       file name of the EGD socket.\n"),
     N_("\
        --sslcadir=DIR        dir where hash list of CA's are stored.\n"),
     N_("\
@@ -544,6 +546,8 @@ HTTPS (SSL) options:\n"),
     N_("\
        --sslprotocol=0-3     choose SSL protocol; 0=automatic,\n\
                              1=SSLv2 2=SSLv3 3=TLSv1.\n"),
+    N_("\
+       --egd-file=FILE       file name of the EGD socket.\n"),
     "\n",
 #endif /* HAVE_SSL */