Skip to content

Commit

Permalink
fix: use CARGO_PKG_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
kruserr committed Oct 23, 2024
1 parent 71228f8 commit 975f6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i6/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let timer_id = "timer";
let sh_id = "sh";

let matches = Command::new("i6")
let matches = Command::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION"))
.author(env!("CARGO_PKG_AUTHORS"))
.about(env!("CARGO_PKG_DESCRIPTION"))
Expand Down

0 comments on commit 975f6b4

Please sign in to comment.