From: Daniel Stenberg Date: Wed, 6 Jun 2007 20:08:40 +0000 (+0000) Subject: make -s/--silent properly toggle as it is documented X-Git-Tag: curl-7_16_3~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4d2fbae6de39a1b61618c52f332a1a4492161a3;p=thirdparty%2Fcurl.git make -s/--silent properly toggle as it is documented --- diff --git a/src/main.c b/src/main.c index 638c60a509..9124747f23 100644 --- a/src/main.c +++ b/src/main.c @@ -2388,7 +2388,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ break; case 's': /* don't show progress meter, don't show errors : */ - config->conf |= (CONF_MUTE|CONF_NOPROGRESS); + config->conf ^= (CONF_MUTE|CONF_NOPROGRESS); config->showerror ^= TRUE; /* toggle off */ break; case 'S':