diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 184c0323..090c832c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,10 +11,12 @@ use command::AtuinCmd; mod command; +const VERSION: &str = env!("CARGO_PKG_VERSION"); + #[derive(StructOpt)] #[structopt( author = "Ellie Huxtable <e@elm.sh>", - version = "0.5.0", + version = VERSION, about = "Magical shell history", global_settings(&[AppSettings::ColoredHelp, AppSettings::DeriveDisplayOrder]) )] |