Skip to content

Commit

Permalink
add conflux flag to starting cli mode (#1487)
Browse files Browse the repository at this point in the history
fix issue #1435

Signed-off-by: Deshi Xiao <[email protected]>
  • Loading branch information
xiaods authored May 29, 2020
1 parent 42c68d5 commit 6ee5dfc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn ClientTrait>;
client_handle = if matches.is_present("light") {
Expand Down

0 comments on commit 6ee5dfc

Please sign in to comment.