From 08e854d00153db7c41b196be5e85e38531d62336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 23 Oct 2023 03:42:29 +0300 Subject: [PATCH] Use dynamic version in help text --- src/help.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/help.rs b/src/help.rs index 2456403..7acc8ae 100644 --- a/src/help.rs +++ b/src/help.rs @@ -1,5 +1,8 @@ /// Help text. -pub const HELP: &str = r###"# felix v2.8.1 +pub const HELP: &str = concat!( + "# felix v", + env!("CARGO_PKG_VERSION"), + r###" A simple TUI file manager with vim-like keymapping. ## Usage @@ -105,4 +108,5 @@ trash directory : $PROFILE\\AppData\\Local\\felix\\trash log files : $PROFILE\\AppData\\Local\\felix\\log For more details, visit https://github.com/kyoheiu/felix -"###; +"### +);