From 5789db042d9d5da88db3b5303fd3f3da75ec1573 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Thu, 13 Jun 2024 14:22:07 +0900 Subject: [PATCH] Fix panic on startup in debug build (#5917) * Fix panic in debug build * make cli-local to update the book --- account_manager/src/lib.rs | 2 +- book/src/help_general.md | 4 ++-- validator_manager/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account_manager/src/lib.rs b/account_manager/src/lib.rs index f1160fff9c5..534939cf6bd 100644 --- a/account_manager/src/lib.rs +++ b/account_manager/src/lib.rs @@ -18,7 +18,7 @@ pub const WALLETS_DIR_FLAG: &str = "wallets-dir"; pub fn cli_app() -> Command { Command::new(CMD) - .visible_aliases(["a", "am", "account", CMD]) + .visible_aliases(["a", "am", "account"]) .about("Utilities for generating and managing Ethereum 2.0 accounts.") .display_order(0) .arg( diff --git a/book/src/help_general.md b/book/src/help_general.md index 42bff04d1af..a8cd459614c 100644 --- a/book/src/help_general.md +++ b/book/src/help_general.md @@ -9,7 +9,7 @@ Usage: lighthouse [OPTIONS] [COMMAND] Commands: account_manager Utilities for generating and managing Ethereum 2.0 accounts. [aliases: - a, am, account, account_manager] + a, am, account] beacon_node The primary component which connects to the Ethereum 2.0 P2P network and downloads, verifies and stores blocks. Provides a HTTP API for @@ -30,7 +30,7 @@ Commands: validator] validator_manager Utilities for managing a Lighthouse validator client via the HTTP API. - [aliases: vm, validator-manager, validator_manager] + [aliases: vm, validator-manager] help Print this message or the help of the given subcommand(s) diff --git a/validator_manager/src/lib.rs b/validator_manager/src/lib.rs index 101d6d21360..222dd7076de 100644 --- a/validator_manager/src/lib.rs +++ b/validator_manager/src/lib.rs @@ -40,7 +40,7 @@ impl DumpConfig { pub fn cli_app() -> Command { Command::new(CMD) - .visible_aliases(["vm", "validator-manager", CMD]) + .visible_aliases(["vm", "validator-manager"]) .display_order(0) .styles(get_color_style()) .about("Utilities for managing a Lighthouse validator client via the HTTP API.")