From: Daniel Stenberg Date: Sun, 23 Jun 2024 09:33:47 +0000 (+0200) Subject: dump-header.md: mention minus for stdout X-Git-Tag: curl-8_9_0~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=674cbfd613d3eb1dda1961a4c4887414650092ce;p=thirdparty%2Fcurl.git dump-header.md: mention minus for stdout Closes #13985 --- diff --git a/docs/cmdline-opts/dump-header.md b/docs/cmdline-opts/dump-header.md index 42d3e85ed6..925e6da668 100644 --- a/docs/cmdline-opts/dump-header.md +++ b/docs/cmdline-opts/dump-header.md @@ -13,12 +13,14 @@ See-also: - output Example: - --dump-header store.txt $URL + - --dump-header - $URL -o save --- # `--dump-header` Write the received protocol headers to the specified file. If no headers are -received, the use of this option creates an empty file. +received, the use of this option creates an empty file. Specify `-` as file +name (a single minus) to have it written to stdout. When used in FTP, the FTP server response lines are considered being "headers" and thus are saved there.