From 975f6b49f4cbed5e8514503b6950c6d3a48b4535 Mon Sep 17 00:00:00 2001 From: kruserr <46799551+kruserr@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:05:28 +0000 Subject: [PATCH] fix: use CARGO_PKG_NAME --- i6/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i6/src/main.rs b/i6/src/main.rs index 17d3a4d..e86a100 100644 --- a/i6/src/main.rs +++ b/i6/src/main.rs @@ -10,7 +10,7 @@ fn main() -> Result<(), Box> { 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"))