Skip to content

Commit

Permalink
Use version number from Cargo.toml in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnoguera committed Dec 30, 2024
1 parent eecbb9a commit d933d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn days_in_month<T: Datelike>(date: T) -> u32 {
fn main() {
//use clap to get command line args
let matches = App::new("conky-calendar")
.version("1.0")
.version(clap::crate_version!())
.author("by Michael Noguera")
.about("Prints a simple calendar with conky format strings embedded.")
.arg(
Expand Down

0 comments on commit d933d9e

Please sign in to comment.