Fix panic on startup in debug build (#5917)

* Fix panic in debug build

* make cli-local to update the book
This commit is contained in:
Akihito Nakano
2024-06-13 14:22:07 +09:00
committed by GitHub
parent 1bcd1f15b1
commit 5789db042d
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ pub const WALLETS_DIR_FLAG: &str = "wallets-dir";
pub fn cli_app() -> Command { pub fn cli_app() -> Command {
Command::new(CMD) Command::new(CMD)
.visible_aliases(["a", "am", "account", CMD]) .visible_aliases(["a", "am", "account"])
.about("Utilities for generating and managing Ethereum 2.0 accounts.") .about("Utilities for generating and managing Ethereum 2.0 accounts.")
.display_order(0) .display_order(0)
.arg( .arg(

View File

@@ -9,7 +9,7 @@ Usage: lighthouse [OPTIONS] [COMMAND]
Commands: Commands:
account_manager account_manager
Utilities for generating and managing Ethereum 2.0 accounts. [aliases: Utilities for generating and managing Ethereum 2.0 accounts. [aliases:
a, am, account, account_manager] a, am, account]
beacon_node beacon_node
The primary component which connects to the Ethereum 2.0 P2P network The primary component which connects to the Ethereum 2.0 P2P network
and downloads, verifies and stores blocks. Provides a HTTP API for and downloads, verifies and stores blocks. Provides a HTTP API for
@@ -30,7 +30,7 @@ Commands:
validator] validator]
validator_manager validator_manager
Utilities for managing a Lighthouse validator client via the HTTP API. Utilities for managing a Lighthouse validator client via the HTTP API.
[aliases: vm, validator-manager, validator_manager] [aliases: vm, validator-manager]
help help
Print this message or the help of the given subcommand(s) Print this message or the help of the given subcommand(s)

View File

@@ -40,7 +40,7 @@ impl DumpConfig {
pub fn cli_app() -> Command { pub fn cli_app() -> Command {
Command::new(CMD) Command::new(CMD)
.visible_aliases(["vm", "validator-manager", CMD]) .visible_aliases(["vm", "validator-manager"])
.display_order(0) .display_order(0)
.styles(get_color_style()) .styles(get_color_style())
.about("Utilities for managing a Lighthouse validator client via the HTTP API.") .about("Utilities for managing a Lighthouse validator client via the HTTP API.")