mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
21 lines
590 B
Makefile
21 lines
590 B
Makefile
Long: output-dir
|
|
Arg: <dir>
|
|
Help: Directory to save files in
|
|
Added: 7.73.0
|
|
See-also: remote-name remote-header-name
|
|
Category: curl
|
|
Example: --output-dir "tmp" -O $URL
|
|
---
|
|
|
|
This option specifies the directory in which files should be stored, when
|
|
--remote-name or --output are used.
|
|
|
|
The given output directory is used for all URLs and output options on the
|
|
command line, up until the first --next.
|
|
|
|
If the specified target directory doesn't exist, the operation will fail
|
|
unless --create-dirs is also used.
|
|
|
|
If this option is used multiple times, the last specified directory will be
|
|
used.
|