From ce9cdf4dca3c8f725beff286c2d87642165113c4 Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Thu, 3 Sep 2026 14:27:17 -0600 Subject: [PATCH] fix(cli): stop service tags from renaming CLI options --- unshackle/commands/dl.py | 4 +--- unshackle/commands/search.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/unshackle/commands/dl.py b/unshackle/commands/dl.py index 3a5de675..176b6854 100644 --- a/unshackle/commands/dl.py +++ b/unshackle/commands/dl.py @@ -506,9 +506,7 @@ class dl: @click.command( short_help="Download, Decrypt, and Mux tracks for titles from a Service.", cls=Services, - context_settings=dict( - **context_settings, default_map=normalize_dl_config(config.dl), token_normalize_func=Services.get_tag - ), + context_settings=dict(**context_settings, default_map=normalize_dl_config(config.dl)), ) @click.option( "-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)." diff --git a/unshackle/commands/search.py b/unshackle/commands/search.py index 2087dc8f..f88da5dd 100644 --- a/unshackle/commands/search.py +++ b/unshackle/commands/search.py @@ -27,7 +27,7 @@ from unshackle.core.utils.redact import mask_proxy @click.command( short_help="Search for titles from a Service.", cls=Services, - context_settings=dict(**context_settings, token_normalize_func=Services.get_tag), + context_settings=context_settings, ) @click.option( "-p", "--profile", type=str, default=None, help="Profile to use for Credentials and Cookies (if available)."