fix(cli): stop service tags from renaming CLI options

This commit is contained in:
imSp4rky
2026-09-03 14:27:17 -06:00
parent e15c2f067e
commit ce9cdf4dca
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -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)."
+1 -1
View File
@@ -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)."