make input uppercase

This commit is contained in:
Love 2025-01-04 20:50:39 +01:00
parent d05a1433d3
commit 6c0639c6a3

View File

@ -40,7 +40,13 @@ async fn main() -> ExitCode {
};
if !cli.currencies.is_empty() {
filter_currencies(&mut parsed, &cli.currencies);
let currencies = cli
.currencies
.iter()
.map(|x| x.to_uppercase())
.collect::<Vec<_>>();
filter_currencies(&mut parsed, &currencies);
}
let output = match cli.command {