Skip to content

Commit

Permalink
Fix double lighthouse (#1473)
Browse files Browse the repository at this point in the history
## Issue Addressed

Resolve #1465

## Proposed Changes

Replace `"Lighthouse/"` with an empty string.

## Additional Info

NA
  • Loading branch information
minaminao committed Aug 6, 2020
1 parent 7d87e11 commit f4fe2ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse/src/main.rs
Expand Up @@ -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(
Expand All @@ -37,7 +37,7 @@ fn main() {
format!(
"{}\n\
BLS Library: {}",
VERSION, bls_library_name()
VERSION.replace("Lighthouse/", ""), bls_library_name()
).as_str()
)
.arg(
Expand Down

0 comments on commit f4fe2ac

Please sign in to comment.