]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: add a note about --compressed to note about binary output
authorTobias Zimmermann <tobias@the-resc.com>
Fri, 2 Jan 2026 17:12:03 +0000 (18:12 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 3 Jan 2026 23:10:40 +0000 (00:10 +0100)
Closes #20168

docs/cmdline-opts/output.md

index e07c0756a6317bdff85ffcfbd85f6fbef96f5e22..6d68b335750fbc0c7343f7e1767900ffcdeeea74 100644 (file)
@@ -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.