output-dir.md: expand on its behavior
No binary (build failed)
—
(log yok)
| @@ -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. |