From d9f0dd92b7c5c3ec82576012f004d58448f60ef4 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 7 Dec 2023 11:10:46 -0500 Subject: [PATCH] version bump and added '-v' as a version flag --- Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }