version bump and added '-v' as a version flag
This commit is contained in:
parent
797a22324b
commit
d9f0dd92b7
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pride"
|
name = "pride"
|
||||||
version = "0.2.3"
|
version = "0.3.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -38,7 +38,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle version flag
|
// handle version flag
|
||||||
if args.contains("--version") {
|
if args.contains(["-v", "--version"]) {
|
||||||
println!("pride v{VERSION}");
|
println!("pride v{VERSION}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue