← Commit list

f31774b682

Daniel Stenberg
Daniel Stenberg
2026-09-24
SUCCESS Duration: 389s

Subject

output-dir.md: expand on its behavior

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/cmdline-opts/output-dir.md+5 -0
@@ -12,6 +12,7 @@ See-also:
- remote-header-name
Example:
- --output-dir "tmp" -O $URL
+ - --output-dir "tmp" -o filename.html $URL
---
# `--output-dir`
@@ -24,3 +25,7 @@ command line, up until the first --next.
If the specified target directory does not exist, the operation fails unless
--create-dirs is also used.
+
+The specified output directory is prepended to the destination filename that
+would otherwise be used, including any directory component. No attempt is made
+to neutralize `../` sequences or similar constructs in the resulting path.