]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Resurrect opt.dot_style.
[wget] / src / main.c
index eaf952e0850c70829da7acdd70495947680b3f0f..5dc9bb0332da9dd9533606769ca4029e5078e29e 100644 (file)
@@ -166,10 +166,6 @@ Download:\n\
   -Q,  --quota=NUMBER           set retrieval quota to NUMBER.\n\
        --limit-rate=RATE        limit download rate to RATE.\n\
 \n"), stdout);
-#ifdef HAVE_RANDOM
-  fputs (_("\
-\n"), stdout);
-#endif
   fputs (_("\
 Directories:\n\
   -nd  --no-directories            don\'t create directories.\n\
@@ -496,13 +492,7 @@ GNU General Public License for more details.\n"));
          setval ("header", optarg);
          break;
        case 134:
-         /* Supported for compatibility; --dot-style=foo equivalent
-            to --progress=dot:foo.  */
-         {
-           char *tmp = alloca (3 + 1 + strlen (optarg));
-           sprintf (tmp, "dot:%s", optarg);
-           setval ("progress", tmp);
-         }
+         setval ("dotstyle", optarg);
          break;
        case 135:
          setval ("htmlify", optarg);