Mark --dot-style as deprecated.
authorMicah Cowan <micah@cowan.name>
Mon, 27 Jul 2009 01:55:49 +0000 (18:55 -0700)
committerMicah Cowan <micah@cowan.name>
Mon, 27 Jul 2009 01:55:49 +0000 (18:55 -0700)
src/init.c
src/main.c

index 879d3aac80b27a419cdd9154128fe8cfaf2fe74b..d747906971c1246f9a59b753960cb5391584c4fe 100644 (file)
@@ -145,7 +145,7 @@ static const struct {
   { "dotbytes",         &opt.dot_bytes,         cmd_bytes },
   { "dotsinline",       &opt.dots_in_line,      cmd_number },
   { "dotspacing",       &opt.dot_spacing,       cmd_number },
-  { "dotstyle",         &opt.dot_style,         cmd_string },
+  { "dotstyle",         &opt.dot_style,         cmd_string }, /* deprecated */
 #ifdef HAVE_SSL
   { "egdfile",          &opt.egd_file,          cmd_file },
 #endif
index a70ecc03aeff74fad69d3ad2939ce3933ffc4274..e3b92fb00bf40205f783449f5981e1c910e4fc8f 100644 (file)
@@ -177,7 +177,7 @@ static struct cmdline_option option_data[] =
     { "dns-timeout", 0, OPT_VALUE, "dnstimeout", -1 },
     { "domains", 'D', OPT_VALUE, "domains", -1 },
     { "dont-remove-listing", 0, OPT__DONT_REMOVE_LISTING, NULL, no_argument },
-    { "dot-style", 0, OPT_VALUE, "dotstyle", -1 },
+    { "dot-style", 0, OPT_VALUE, "dotstyle", -1 }, /* deprecated */
     { "egd-file", 0, OPT_VALUE, "egdfile", -1 },
     { "exclude-directories", 'X', OPT_VALUE, "excludedirectories", -1 },
     { "exclude-domains", 0, OPT_VALUE, "excludedomains", -1 },