From b9f5fadbb3ac3e6739129971e90e939d157122fa Mon Sep 17 00:00:00 2001 From: bytedream Date: Tue, 9 Apr 2024 22:50:25 +0200 Subject: [PATCH] Fix archive `--language-tagging` sometimes causing crash --- crunchy-cli-core/src/archive/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crunchy-cli-core/src/archive/command.rs b/crunchy-cli-core/src/archive/command.rs index cf0038f..4210828 100644 --- a/crunchy-cli-core/src/archive/command.rs +++ b/crunchy-cli-core/src/archive/command.rs @@ -126,6 +126,7 @@ pub struct Archive { long_help = "Specified which language tagging the audio and subtitle tracks and language specific format options should have. \ Valid options are: 'default' (how Crunchyroll uses it internally), 'ietf' (according to the IETF standard; you might run in issues as there are multiple locales which resolve to the same IETF language code, e.g. 'es-LA' and 'es-ES' are both resolving to 'es')" )] + #[arg(long)] #[arg(value_parser = LanguageTagging::parse)] pub(crate) language_tagging: Option,