diff --git a/Cargo.lock b/Cargo.lock index 59a4907..3ed550e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -903,7 +903,7 @@ dependencies = [ [[package]] name = "psa-update" -version = "1.0.2" +version = "1.0.3" dependencies = [ "anyhow", "clap", diff --git a/src/main.rs b/src/main.rs index 1600af1..3192695 100644 --- a/src/main.rs +++ b/src/main.rs @@ -54,7 +54,7 @@ async fn main() -> Result<(), Error> { .get_matches(); let interactive = !matches.contains_id("silent"); - let vin = matches.value_of("VIN"); + let vin = matches.value_of("VIN").map(|s| s.to_uppercase()); let vin_provided_as_arg = vin.is_some(); let map = matches.value_of("map");