mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
set default value for locale to empty vec
This commit is contained in:
parent
13d8cc26c9
commit
c4a4651164
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ pub struct Archive {
|
|||
#[arg(short, long, default_values_t = vec![Locale::ja_JP, crate::utils::locale::system_locale()])]
|
||||
pub(crate) audio: Vec<Locale>,
|
||||
#[arg(help = "Deprecated. Use '-a' / '--audio' instead")]
|
||||
#[arg(short, long, default_values_t = vec![Locale::ja_JP, crate::utils::locale::system_locale()])]
|
||||
#[arg(short, long, default_values_t = Vec::<Locale>::new())]
|
||||
locale: Vec<Locale>,
|
||||
#[arg(help = format!("Subtitle languages. Can be used multiple times. \
|
||||
Available languages are: {}", Locale::all().into_iter().map(|l| l.to_string()).collect::<Vec<String>>().join(", ")))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue