summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/next.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/next.d')
-rw-r--r--docs/cmdline-opts/next.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmdline-opts/next.d b/docs/cmdline-opts/next.d
index 1adcc7535..bcbad68e5 100644
--- a/docs/cmdline-opts/next.d
+++ b/docs/cmdline-opts/next.d
@@ -6,6 +6,8 @@ Added: 7.36.0
Magic: divider
Help: Make next URL use its separate set of options
Category: curl
+Example: $URL --next -d postthis www2.example.com
+Example: -I $URL --next https://example.net/
---
Tells curl to use a separate operation for the following URL and associated
options. This allows you to send several URL requests, each with their own
@@ -18,4 +20,6 @@ options include --verbose, --trace, --trace-ascii and --fail-early.
For example, you can do both a GET and a POST in a single command line:
+.nf
curl www1.example.com --next -d postthis www2.example.com
+.fi