From d5043133e63290e0abedc34ddd1889bbd4bb953e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 May 2003 08:08:48 +0000 Subject: Gisle Vanem made curl build with djgpp on DOS. --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 62348df3e..7a56882e6 100644 --- a/src/main.c +++ b/src/main.c @@ -411,6 +411,9 @@ static void help(void) " Overrides -n and --netrc-optional\n" " -U/--proxy-user Specify Proxy authentication\n" " -v/--verbose Makes the operation more talkative\n" +#ifdef DJGPP + " Also enables Watt-32 debugging\n" +#endif " -V/--version Outputs version number then quits"); puts(" -w/--write-out [format] What to output after completion\n" " -x/--proxy Use proxy. (Default port is 1080)\n" @@ -1670,6 +1673,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ cleanarg(nextarg); break; case 'v': +#ifdef DJGPP + dbug_init(); +#endif config->conf ^= CONF_VERBOSE; /* talk a lot */ break; case 'V': -- cgit v1.2.3