curl: added --styled-output

It is enabled by default, so --no-styled-output will switch off the
detection/use of bold headers.

Closes #2538
This commit is contained in:
Daniel Stenberg 2018-05-17 14:09:17 +02:00
parent c1c27625c7
commit f3d836b736
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 19 additions and 5 deletions

View file

@ -276,6 +276,7 @@ struct GlobalConfig {
int progressmode; /* CURL_PROGRESS_BAR / CURL_PROGRESS_STATS */
char *libcurl; /* Output libcurl code to this file name */
bool fail_early; /* exit on first transfer error */
bool styled_output; /* enable fancy output style detection */
struct OperationConfig *first;
struct OperationConfig *current;
struct OperationConfig *last; /* Always last in the struct */