mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-17 22:45:06 +00:00
fix(cli): stop service tags from renaming CLI options
This commit is contained in:
@@ -506,9 +506,7 @@ class dl:
|
|||||||
@click.command(
|
@click.command(
|
||||||
short_help="Download, Decrypt, and Mux tracks for titles from a Service.",
|
short_help="Download, Decrypt, and Mux tracks for titles from a Service.",
|
||||||
cls=Services,
|
cls=Services,
|
||||||
context_settings=dict(
|
context_settings=dict(**context_settings, default_map=normalize_dl_config(config.dl)),
|
||||||
**context_settings, default_map=normalize_dl_config(config.dl), token_normalize_func=Services.get_tag
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)."
|
"-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)."
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ from unshackle.core.utils.redact import mask_proxy
|
|||||||
@click.command(
|
@click.command(
|
||||||
short_help="Search for titles from a Service.",
|
short_help="Search for titles from a Service.",
|
||||||
cls=Services,
|
cls=Services,
|
||||||
context_settings=dict(**context_settings, token_normalize_func=Services.get_tag),
|
context_settings=context_settings,
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)."
|
"-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)."
|
||||||
|
|||||||
Reference in New Issue
Block a user