diff options
author | Kyohei Uto <im@kyoheiu.dev> | 2023-10-24 04:44:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 04:44:48 +0900 |
commit | 7b9d7bed26d347816c19e859ea109e9c10666db6 (patch) | |
tree | affcac0d37dcdcdad8ced115daafaa0dd8a8ee72 | |
parent | ddb59bba605bb345c2bf5f23764536544ce50d43 (diff) | |
parent | 08e854d00153db7c41b196be5e85e38531d62336 (diff) |
Merge pull request #247 from orhun/chore/update_version_in_help
Use dynamic version in help text
-rw-r--r-- | src/help.rs | 8 |
1 files 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 -"###; +"### +); |