From f3d836b73601fc6d14cb917e1cd72f43b9056dff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 17 May 2018 14:09:17 +0200 Subject: curl: added --styled-output It is enabled by default, so --no-styled-output will switch off the detection/use of bold headers. Closes #2538 --- src/tool_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tool_main.c') 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, , et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, , 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)); -- cgit v1.2.3