diff --git a/src/main.rs b/src/main.rs index 670e1d766d..3f1bd49250 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,6 +131,22 @@ fn main() -> Result<(), String> { ); let exit = Arc::new((Mutex::new(false), Condvar::new())); + const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION"); + + print!( + " +:'######:::'#######::'##::: ##:'########:'##:::::::'##::::'##:'##::::'##: +'##... ##:'##.... ##: ###:: ##: ##.....:: ##::::::: ##:::: ##:. ##::'##:: + ##:::..:: ##:::: ##: ####: ##: ##::::::: ##::::::: ##:::: ##::. ##'##::: + ##::::::: ##:::: ##: ## ## ##: ######::: ##::::::: ##:::: ##:::. ###:::: + ##::::::: ##:::: ##: ##. ####: ##...:::: ##::::::: ##:::: ##::: ## ##::: + ##::: ##: ##:::: ##: ##:. ###: ##::::::: ##::::::: ##:::: ##:: ##:. ##:: +. ######::. #######:: ##::. ##: ##::::::: ########:. #######:: ##:::. ##: +:......::::.......:::..::::..::..::::::::........:::.......:::..:::::..:: +Current Version: {} +", + VERSION.unwrap_or("unknown") + ); let client_handle: Box; client_handle = if matches.is_present("light") {