Print language setting(s) in display format
This commit is contained in:
parent
af0410191e
commit
326ba895a9
1 changed files with 6 additions and 1 deletions
|
@ -206,7 +206,12 @@ fn print_status(ident: Option<String>, verbose: bool) -> Result<()> {
|
|||
}
|
||||
|
||||
if let Some(lang) = crd.lang() {
|
||||
println!("Language preferences '{:?}'", lang);
|
||||
let l = lang
|
||||
.iter()
|
||||
.map(|l| format!("{}", l))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ");
|
||||
println!("Language preferences: '{}'", l);
|
||||
}
|
||||
|
||||
// information about subkeys
|
||||
|
|
Loading…
Reference in a new issue