docs: give each dl and serve flag and the error envelope one owner page and tighten the cli-reference test

This commit is contained in:
imSp4rky
2026-12-04 20:13:12 -07:00
parent 87b58190ea
commit f10b8dcf99
16 changed files with 90 additions and 181 deletions
+3 -14
View File
@@ -79,20 +79,9 @@ You normally do not need to think about any of this. It gives a clean file.
## Selecting and filtering subtitles
Subtitle selection happens through `dl` flags. The most important is language selection.
| Flag | Purpose |
| --- | --- |
| `-sl`, `--s-lang` | Language(s) wanted for subtitles. Defaults to `all`. A `-` prefix excludes, e.g. `all,-es`. |
| `--require-subs` | Require these languages to exist. The title fails if one is missing. `--s-lang` still decides what to keep. |
| `-fs`, `--forced-subs` | Include forced subtitle tracks (excluded by default). |
| `-fso`, `--forced-subs-only` | Keep only forced subtitle tracks and drop the other subtitles; implies `-fs`. |
| `-fsl`, `--forced-s-lang` | Language(s) wanted for forced subtitles; implies `-fs`. A `-` prefix excludes. |
| `--exact-lang` | A tag without a region never falls back to another variant: `es` does not match `es-419`. |
| `-S`, `--subs-only` | Download only subtitle tracks. |
| `-ns`, `--no-subs` | Do not download subtitle tracks at all. |
| `--sub-format` | Output subtitle format / conversion target (see [conversion](#converting-subtitle-formats)). |
| `--sub-font` | Font for subtitles converted to ASS; implies `--sub-format ass` (see [custom font and style](#custom-font-and-style)). |
| `--skip-subtitle-errors` | Skip a subtitle that fails to download instead of aborting the whole title. |
The [language and subtitle flags](cli-reference.md#language-subtitles) give the meaning and
default of each one. `--subs-only`, `--no-subs` and `--skip-subtitle-errors` are with the
[track-type flags](cli-reference.md#track-type-inclusion-exclusion).
### Choosing languages