mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
make -s/--silent properly toggle as it is documented
This commit is contained in:
parent
42a2138d11
commit
b4d2fbae6d
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user