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

@ -46,6 +46,7 @@ DPAGES = abstract-unix-socket.d anyauth.d append.d basic.d cacert.d capath.d cer
tlsauthtype.d tlspassword.d tlsuser.d tlsv1.0.d tlsv1.1.d tlsv1.2.d \
tlsv1.3.d tlsv1.d trace-ascii.d trace.d trace-time.d tr-encoding.d \
unix-socket.d upload-file.d url.d use-ascii.d user-agent.d user.d \
verbose.d version.d write-out.d xattr.d request-target.d
verbose.d version.d write-out.d xattr.d request-target.d \
styled-output.d
OTHERPAGES = page-footer page-header

View file

@ -0,0 +1,6 @@
Long: styled-output
Help: Enable styled output for HTTP headers
Added: 7.61.0
---
Enables the automatic use of bold font styles when writing HTTP headers to the
terminal. Use --no-styled-output to switch them off.