summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2018-10-08 23:54:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-11-07 11:09:55 +0100
commite431daf013ea04cb1a988a2009d820224ef5fb79 (patch)
treea6d402eb463c0db26424eb02be0954cd137dcd1b /docs/cmdline-opts
parent8a49b291cb2900f48927facae3cb170475a2558e (diff)
downloadcurl-e431daf013ea04cb1a988a2009d820224ef5fb79.tar.gz
curl: add %{stderr} and %{stdout} for --write-out
Closes #3115
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r--docs/cmdline-opts/write-out.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cmdline-opts/write-out.d b/docs/cmdline-opts/write-out.d
index 3747845cc..2fc0ff21a 100644
--- a/docs/cmdline-opts/write-out.d
+++ b/docs/cmdline-opts/write-out.d
@@ -15,6 +15,9 @@ text that curl thinks fit, as described below. All variables are specified as
output a newline by using \\n, a carriage return with \\r and a tab space with
\\t.
+The output will be written to standard output, but this can be switched to
+standard error by using %{stderr}.
+
.B NOTE:
The %-symbol is a special symbol in the win32-environment, where all
occurrences of % must be doubled when using this option.
@@ -103,6 +106,15 @@ second.
The result of the SSL peer certificate verification that was requested. 0
means the verification was successful. (Added in 7.19.0)
.TP
+.B stderr
+From this point on, the --write-out output will be written to standard
+error. (Added in 7.63.0)
+.TP
+.B stdout
+From this point on, the --write-out output will be written to standard output.
+This is the default, but can be used to switch back after switching to stderr.
+(Added in 7.63.0)
+.TP
.B time_appconnect
The time, in seconds, it took from the start until the SSL/SSH/etc
connect/handshake to the remote host was completed. (Added in 7.19.0)