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() {
|
fn main() {
|
||||||
// Parse the CLI parameters.
|
// Parse the CLI parameters.
|
||||||
let matches = App::new("Lighthouse")
|
let matches = App::new("Lighthouse")
|
||||||
.version(VERSION)
|
.version(VERSION.replace("Lighthouse/", "").as_str())
|
||||||
.author("Sigma Prime <contact@sigmaprime.io>")
|
.author("Sigma Prime <contact@sigmaprime.io>")
|
||||||
.setting(clap::AppSettings::ColoredHelp)
|
.setting(clap::AppSettings::ColoredHelp)
|
||||||
.about(
|
.about(
|
||||||
@ -37,7 +37,7 @@ fn main() {
|
|||||||
format!(
|
format!(
|
||||||
"{}\n\
|
"{}\n\
|
||||||
BLS Library: {}",
|
BLS Library: {}",
|
||||||
VERSION, bls_library_name()
|
VERSION.replace("Lighthouse/", ""), bls_library_name()
|
||||||
).as_str()
|
).as_str()
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
Loading…
Reference in New Issue
Block a user