tool: Moved --silient to the global config

Other global options such as --libcurl, --trace and --verbose to
follow.
This commit is contained in:
Steve Holme 2014-02-27 20:21:23 +00:00
parent 17df2d8f8e
commit 5577540ad5
4 changed files with 10 additions and 9 deletions

View file

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