summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/output-dir.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/output-dir.d')
-rw-r--r--docs/cmdline-opts/output-dir.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/cmdline-opts/output-dir.d b/docs/cmdline-opts/output-dir.d
new file mode 100644
index 000000000..40bcb78ee
--- /dev/null
+++ b/docs/cmdline-opts/output-dir.d
@@ -0,0 +1,18 @@
+Long: output-dir
+Arg: <dir>
+Help: Directory to save files in
+Added: 7.72.0
+See-also: remote-name remote-header-name
+---
+
+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.