From: Tobias Zimmermann Date: Fri, 2 Jan 2026 17:12:03 +0000 (+0100) Subject: docs: add a note about --compressed to note about binary output X-Git-Tag: curl-8_18_0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09374f6e7596d2363b12f46fd7e7483491b06f67;p=thirdparty%2Fcurl.git docs: add a note about --compressed to note about binary output Closes #20168 --- diff --git a/docs/cmdline-opts/output.md b/docs/cmdline-opts/output.md index e07c0756a6..6d68b33575 100644 --- a/docs/cmdline-opts/output.md +++ b/docs/cmdline-opts/output.md @@ -13,6 +13,7 @@ See-also: - remote-name - remote-name-all - remote-header-name + - compressed Example: - -o file $URL - "http://{one,two}.example.com" -o "file_#1.txt" @@ -65,3 +66,6 @@ Specify the filename as single minus to force the output to stdout, to override curl's internal binary output in terminal prevention: curl https://example.com/jpeg -o - + +Note that the binary output may be caused by the response being compressed, in +which case you may want to use the --compressed option.