diff --git a/Cargo.toml b/Cargo.toml index 0a04b6f..d04c4c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pride" -version = "0.2.3" +version = "0.3.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 5280d87..f753c91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,7 +38,7 @@ fn main() { } // handle version flag - if args.contains("--version") { + if args.contains(["-v", "--version"]) { println!("pride v{VERSION}"); return; }