diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-06-06 20:08:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-06-06 20:08:40 +0000 |
commit | b4d2fbae6de39a1b61618c52f332a1a4492161a3 (patch) | |
tree | 68c1c483d685da3cbc40cc9a8c468fb34c66ae8d /src | |
parent | 42a2138d11fa2594b93b695d4673cc34fa1a2907 (diff) |
make -s/--silent properly toggle as it is documented
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 638c60a50..9124747f2 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': |