Merge pull request #100 from JohnVeness/dl

dl.py: Improve English in the help text
This commit is contained in:
sp4rk.y
2026-04-21 11:12:14 -06:00
committed by GitHub
+7 -7
View File
@@ -356,21 +356,21 @@ class dl:
"--select-titles", "--select-titles",
is_flag=True, is_flag=True,
default=False, default=False,
help="Interactively select downloads from a list. Only use with Series to select Episodes", help="Interactively select downloads from a list. Only use with Series to select Episodes.",
) )
@click.option( @click.option(
"-w", "-w",
"--wanted", "--wanted",
type=SEASON_RANGE, type=SEASON_RANGE,
default=None, default=None,
help="Wanted episodes, e.g. `S01-S05,S07`, `S01E01-S02E03`, `S02-S02E03`, e.t.c, defaults to all.", help="Wanted episodes, e.g. `S01-S05,S07`, `S01E01-S02E03`, `S02-S02E03`, etc., defaults to all.",
) )
@click.option( @click.option(
"-l", "-l",
"--lang", "--lang",
type=LANGUAGE_RANGE, type=LANGUAGE_RANGE,
default="orig", default="orig",
help="Language wanted for Video and Audio. Use 'orig' to select the original language, e.g. 'orig,en' for both original and English.", help="Language(s) wanted for Video and Audio (comma-separated). Use 'orig' to select the original language, e.g. 'orig,en' for both original and English.",
) )
@click.option( @click.option(
"--latest-episode", "--latest-episode",
@@ -383,7 +383,7 @@ class dl:
"--v-lang", "--v-lang",
type=LANGUAGE_RANGE, type=LANGUAGE_RANGE,
default=[], default=[],
help="Language wanted for Video, you would use this if the video language doesn't match the audio.", help="Language wanted for Video. You would use this if the video language doesn't match the audio.",
) )
@click.option( @click.option(
"-al", "-al",
@@ -410,7 +410,7 @@ class dl:
"--proxy", "--proxy",
type=str, type=str,
default=None, default=None,
help="Proxy URI to use. If a 2-letter country is provided, it will try get a proxy from the config.", help="Proxy URI to use. If a 2-letter country is provided, it will try to get a proxy from the config.",
) )
@click.option( @click.option(
"--tag", type=str, default=None, help="Set the Group Tag to be used, overriding the one in config if any." "--tag", type=str, default=None, help="Set the Group Tag to be used, overriding the one in config if any."
@@ -452,10 +452,10 @@ class dl:
@click.option("-V", "--video-only", is_flag=True, default=False, help="Only download video tracks.") @click.option("-V", "--video-only", is_flag=True, default=False, help="Only download video tracks.")
@click.option("-A", "--audio-only", is_flag=True, default=False, help="Only download audio tracks.") @click.option("-A", "--audio-only", is_flag=True, default=False, help="Only download audio tracks.")
@click.option("-S", "--subs-only", is_flag=True, default=False, help="Only download subtitle tracks.") @click.option("-S", "--subs-only", is_flag=True, default=False, help="Only download subtitle tracks.")
@click.option("-C", "--chapters-only", is_flag=True, default=False, help="Only download chapters.") @click.option("-C", "--chapters-only", is_flag=True, default=False, help="Only download chapter markers.")
@click.option("-ns", "--no-subs", is_flag=True, default=False, help="Do not download subtitle tracks.") @click.option("-ns", "--no-subs", is_flag=True, default=False, help="Do not download subtitle tracks.")
@click.option("-na", "--no-audio", is_flag=True, default=False, help="Do not download audio tracks.") @click.option("-na", "--no-audio", is_flag=True, default=False, help="Do not download audio tracks.")
@click.option("-nc", "--no-chapters", is_flag=True, default=False, help="Do not download chapters tracks.") @click.option("-nc", "--no-chapters", is_flag=True, default=False, help="Do not download chapter markers.")
@click.option("-nv", "--no-video", is_flag=True, default=False, help="Do not download video tracks.") @click.option("-nv", "--no-video", is_flag=True, default=False, help="Do not download video tracks.")
@click.option("-ad", "--audio-description", is_flag=True, default=False, help="Download audio description tracks.") @click.option("-ad", "--audio-description", is_flag=True, default=False, help="Download audio description tracks.")
@click.option( @click.option(