mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
e7219c2bdc
Use imperative mood consistently for the first sentence describing an option. "Set this" instead "tell curl to set" or "this sets..." Plus some extra cleanups and rephrasing. Closes #13106
957 B
957 B
c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al.
SPDX-License-Identifier: curl
Short: :
Long: next
Tags:
Protocols:
Added: 7.36.0
Magic: divider
Help: Make next URL use its separate set of options
Category: curl
Multi: append
See-also:
- parallel
- config
Example:
- $URL --next -d postthis www2.example.com
- -I $URL --next https://example.net/
--next
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 usernames or custom requests for each.
--next resets all local options and only global ones have their values survive over to the operation following the --next instruction. Global 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:
curl www1.example.com --next -d postthis www2.example.com