diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 16:37:28 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-25 20:52:36 +0000 |
commit | 249dc8357169e610866b92e57d260a3aab63aba1 (patch) | |
tree | b52f044e82fd8b2bfef6c7172a4888e94fc549c3 /src/tool_getparam.c | |
parent | 0704dd770d545271ff11210e983a434a043738a7 (diff) |
tool: Moved --showerror to the global config
Other global options such as --libcurl, --trace and --verbose to
follow.
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r-- | src/tool_getparam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 701f43d99..9cd996c90 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -1619,15 +1619,15 @@ ParameterError getparameter(char *flag, /* f or -long-flag */ config->mute = config->noprogress = TRUE; else config->mute = config->noprogress = FALSE; - if(config->showerror < 0) + 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 order but still have the same effect. */ - config->showerror = (!toggle)?TRUE:FALSE; /* toggle off */ + global->showerror = (!toggle)?TRUE:FALSE; /* toggle off */ break; case 'S': /* show errors */ - config->showerror = toggle?1:0; /* toggle on if used with -s */ + global->showerror = toggle?1:0; /* toggle on if used with -s */ break; case 't': /* Telnet options */ |