make -s/--silent properly toggle as it is documented

This commit is contained in:
Daniel Stenberg 2007-06-06 20:08:40 +00:00
parent 42a2138d11
commit b4d2fbae6d
1 changed files with 1 additions and 1 deletions

View File

@ -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':