mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
Added '-d' option for Watt32 targets. Added cvs id.
This commit is contained in:
parent
5450db9151
commit
6296b89319
1 changed files with 9 additions and 1 deletions
10
ares/adig.c
10
ares/adig.c
|
|
@ -1,4 +1,6 @@
|
|||
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this
|
||||
* software and its documentation for any purpose and without
|
||||
|
|
@ -162,10 +164,16 @@ int main(int argc, char **argv)
|
|||
options.flags = ARES_FLAG_NOCHECKRESP;
|
||||
options.servers = NULL;
|
||||
options.nservers = 0;
|
||||
while ((c = getopt(argc, argv, "f:s:c:t:T:U:")) != -1)
|
||||
while ((c = getopt(argc, argv, "df:s:c:t:T:U:")) != -1)
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
case 'd':
|
||||
#ifdef WATT32
|
||||
dbug_init();
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 'f':
|
||||
/* Add a flag. */
|
||||
for (i = 0; i < nflags; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue