Added '-d' option for Watt-32 debugging.

This commit is contained in:
Gisle Vanem 2008-01-02 05:30:52 +00:00
parent 7795eb6db8
commit bf98b635cd

View File

@ -93,9 +93,14 @@ int main(int argc, char **argv)
WSAStartup(wVersionRequested, &wsaData);
#endif
while ((ch = ares_getopt(argc, argv, "vh?")) != -1)
while ((ch = ares_getopt(argc, argv, "dvh?")) != -1)
switch (ch)
{
case 'd':
#ifdef WATT32
dbug_init();
#endif
break;
case 'v':
verbose++;
break;