Fix double lighthouse (#1473)
## Issue Addressed Resolve https://github.com/sigp/lighthouse/issues/1465 ## Proposed Changes Replace `"Lighthouse/"` with an empty string. ## Additional Info NA
This commit is contained in:
parent
7d87e11e0f
commit
f4fe2ac533
@ -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 <contact@sigmaprime.io>")
|
||||
.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(
|
||||
|
Loading…
Reference in New Issue
Block a user