summaryrefslogtreecommitdiff
path: root/src/tool_main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-17 14:09:17 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-18 09:15:28 +0200
commitc49f4864498958def766ceabf92c9af7a31170e4 (patch)
treedf52002df8344eec23ee97dc0620a9452678a375 /src/tool_main.c
parentaa5fc886fe049383c13285f782f970cd0230d275 (diff)
downloadcurl-c49f4864498958def766ceabf92c9af7a31170e4.tar.gz
curl: added --styled-outputbagder/bold-headers
It is enabled by default, so --no-styled-output will switch off the detection/use of bold headers.
Diffstat (limited to 'src/tool_main.c')
-rw-r--r--src/tool_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index 4e78d3321..b9f7eae2c 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -147,6 +147,7 @@ static CURLcode main_init(struct GlobalConfig *config)
/* Initialise the global config */
config->showerror = -1; /* Will show errors */
config->errors = stderr; /* Default errors to stderr */
+ config->styled_output = TRUE; /* enable detection */
/* Allocate the initial operate config */
config->first = config->last = malloc(sizeof(struct OperationConfig));