summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/output.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/output.d')
-rw-r--r--docs/cmdline-opts/output.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmdline-opts/output.d b/docs/cmdline-opts/output.d
index d639a2351..ce9749d5d 100644
--- a/docs/cmdline-opts/output.d
+++ b/docs/cmdline-opts/output.d
@@ -4,6 +4,10 @@ Short: o
Help: Write to file instead of stdout
See-also: remote-name remote-name-all remote-header-name
Category: important curl
+Example: -o file $URL
+Example: "http://{one,two}.example.com" -o "file_#1.txt"
+Example: "http://{site,host}.host[1-5].com" -o "#1_#2"
+Example: -o file $URL -o file2 https://example.net
---
Write output to <file> instead of stdout. If you are using {} or [] to fetch
multiple documents, you should quote the URL and you can use '#' followed by a