mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix long help language formatting
This commit is contained in:
parent
4bd172df06
commit
a2b7c78752
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ pub struct Archive {
|
|||
#[arg(help = format!("Audio languages. Can be used multiple times. \
|
||||
Available languages are: {}", Locale::all().into_iter().map(|l| l.to_string()).collect::<Vec<String>>().join(", ")))]
|
||||
#[arg(long_help = format!("Audio languages. Can be used multiple times. \
|
||||
Available languages are:\n{}", Locale::all().into_iter().map(|l| format!("{:<6} → {}", l.to_string(), l.to_human_readable())).collect::<Vec<String>>().join("\n ")))]
|
||||
Available languages are:\n {}", Locale::all().into_iter().map(|l| format!("{:<6} → {}", l.to_string(), l.to_human_readable())).collect::<Vec<String>>().join("\n ")))]
|
||||
#[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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue