From 674cbfd613d3eb1dda1961a4c4887414650092ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 23 Jun 2024 11:33:47 +0200 Subject: [PATCH] dump-header.md: mention minus for stdout Closes #13985 --- docs/cmdline-opts/dump-header.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.