version bump and added '-v' as a version flag

This commit is contained in:
Valerie Wolfe 2023-12-07 11:10:46 -05:00
parent 797a22324b
commit d9f0dd92b7
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -38,7 +38,7 @@ fn main() {
}
// handle version flag
if args.contains("--version") {
if args.contains(["-v", "--version"]) {
println!("pride v{VERSION}");
return;
}