mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:53:31 +03:00
tool: Moved --silient to the global config
Other global options such as --libcurl, --trace and --verbose to follow.
This commit is contained in:
parent
17df2d8f8e
commit
5577540ad5
4 changed files with 10 additions and 9 deletions
|
|
@ -1619,9 +1619,9 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
case 's':
|
||||
/* don't show progress meter, don't show errors : */
|
||||
if(toggle)
|
||||
config->mute = config->noprogress = TRUE;
|
||||
global->mute = config->noprogress = TRUE;
|
||||
else
|
||||
config->mute = config->noprogress = FALSE;
|
||||
global->mute = config->noprogress = FALSE;
|
||||
if(global->showerror < 0)
|
||||
/* if still on the default value, set showerror to the reverse of
|
||||
toggle. This is to allow -S and -s to be used in an independent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue