aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-17 13:56:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-21 20:05:05 +0200
commitc1c27625c797cfb7b21128484b4990446c1e92d9 (patch)
tree7a1e6b2597a10628f7787e16bb850adb09a87fc7 /src/tool_cfgable.h
parent6876ccf90b473480998af4619de5f316fbd63084 (diff)
curl: show headers in bold
The feature is only enabled if the output is believed to be a tty. -J: There's some minor differences and improvements in -J handling, as now J should work with -i and it actually creates a file first using the initial name and then *renames* that to the one found in Content-Disposition (if any). -i: only shows headers for HTTP transfers now (as documented). Previously it would also show for pieces of the transfer that were HTTP (for example when doing FTP over a HTTP proxy). -i: now shows trailers as well. Previously they were not shown at all. --libcurl: the CURLOPT_HEADER is no longer set, as the header output is now done in the header callback.
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 96618f8b1..3bd908879 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -100,7 +100,7 @@ struct OperationConfig {
bool use_ascii; /* select ascii or text transfer */
bool autoreferer; /* automatically set referer */
bool failonerror; /* fail on (HTTP) errors */
- bool include_headers; /* send headers to data output */
+ bool show_headers; /* show headers to data output */
bool no_body; /* don't get the body */
bool dirlistonly; /* only get the FTP dir list */
bool followlocation; /* follow http redirects */