]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Resurrect opt.dot_style.
[wget] / src / main.c
index f552ba6dcb1c6dc145c17ca87d2be3c59d46245b..5dc9bb0332da9dd9533606769ca4029e5078e29e 100644 (file)
@@ -492,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);