]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets.
[wget] / src / main.c
index 1998fde9eadd227267b716b304477a02af2fb4e2..0fb65f3b655d2f4f2ab3852661d88d0770b07b57 100644 (file)
@@ -547,7 +547,7 @@ HTTPS (SSL) options:\n"),
     N_("\
 FTP options:\n"),
     N_("\
-  -nr, --no-remove-listing  don't remove `.listing' files.\n"),
+       --no-remove-listing  don't remove `.listing' files.\n"),
     N_("\
        --no-glob            turn off FTP file name globbing.\n"),
     N_("\
@@ -809,12 +809,7 @@ Can't timestamp and not clobber old files at the same time.\n"));
     }
   if (opt.ipv4_only && opt.ipv6_only)
     {
-      if (opt.ipv4_only == -1)
-       /* ipv4_only was set automatically because the system doesn't
-          support IPv6.  */
-       printf (_("Cannot use --inet6-only on a system without IPv6 support.\n"));
-      else
-       printf (_("Cannot specify both --inet4-only and --inet6-only.\n"));
+      printf (_("Cannot specify both --inet4-only and --inet6-only.\n"));
       print_usage ();
       exit (1);
     }