From 9026a77e441c9779ab49be0edfc2f95436fad3eb Mon Sep 17 00:00:00 2001 From: minami Date: Thu, 6 Aug 2020 12:02:19 +0900 Subject: [PATCH] Fix double lighthouse --- lighthouse/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse/src/main.rs b/lighthouse/src/main.rs index aeb545664f8..6ba806e4b7d 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -26,7 +26,7 @@ fn bls_library_name() -> &'static str { fn main() { // Parse the CLI parameters. let matches = App::new("Lighthouse") - .version(VERSION) + .version(VERSION.replace("Lighthouse/", "").as_str()) .author("Sigma Prime ") .setting(clap::AppSettings::ColoredHelp) .about( @@ -37,7 +37,7 @@ fn main() { format!( "{}\n\ BLS Library: {}", - VERSION, bls_library_name() + VERSION.replace("Lighthouse/", ""), bls_library_name() ).as_str() ) .arg(