diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-10-16 23:39:59 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-16 23:39:59 +0200 |
commit | b229c8ca8b34df4e1cb4fe806721b64ea242c4ae (patch) | |
tree | 2719cacb816c0200c33954e531ac6050b606799a /src/tool_cfgable.h | |
parent | 337252bdd421ce8262da183a577a7f8b44641385 (diff) | |
download | curl-b229c8ca8b34df4e1cb4fe806721b64ea242c4ae.tar.gz |
--show-error: position indepdenent
Previously we required that -S/--show-error was used _after_
-s/--silent. This was slightly confusing since we strive to make
arguments as position independent as possible.
Now, you can use them in any order and the result should still be the
same.
Bug: http://curl.haxx.se/bug/view.cgi?id=3424286
Reported by: Andreas Olsson
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r-- | src/tool_cfgable.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index f27a8e24e..adbb44627 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -64,7 +64,9 @@ struct Configurable { char *range; long low_speed_limit; long low_speed_time; - bool showerror; + int showerror; /* -1 == unset, default => show errors + 0 => -s is used to NOT show errors + 1 => -S has been used to show errors */ char *userpwd; char *tls_username; char *tls_password; |