aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/next.d
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-13 23:40:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-13 23:40:12 +0100
commit050aa803096f6d745a173d5810c65dd829f2f8b2 (patch)
tree7f489993c6ab6bdfdfdc797d8a9a66fabb7bba23 /docs/cmdline-opts/next.d
parentebf985c159be0df31848177db0512f282de1de5d (diff)
cmdline-opts: first test version of a new man page generator kit
See MANPAGE.md for the description of how this works. Each command line option is now described in a separate .d file.
Diffstat (limited to 'docs/cmdline-opts/next.d')
-rw-r--r--docs/cmdline-opts/next.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/cmdline-opts/next.d b/docs/cmdline-opts/next.d
new file mode 100644
index 000000000..b1c00ba20
--- /dev/null
+++ b/docs/cmdline-opts/next.d
@@ -0,0 +1,19 @@
+Short: :
+Long: next
+Tags:
+Protocols:
+Added: 7.36.0
+Magic: divider
+---
+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
+specific options, for example, such as different user names or custom requests
+for each.
+
+--next will reset all local options and only global ones will have their
+values survive over to the operation following the --next instruction. Global
+options include --verbose and --fail-early.
+
+For example, you can do both a GET and a POST in a single command line:
+
+ curl www1.example.com --next -d postthis www2.example.com