From a0eccf712815fc01e6ba87c9ae3571d0c803e13f Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 3 Nov 2025 18:06:48 +0100 Subject: [PATCH] chore: use name const for cli name (#19466) --- crates/ethereum/cli/src/interface.rs | 2 +- crates/optimism/cli/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ethereum/cli/src/interface.rs b/crates/ethereum/cli/src/interface.rs index 8d2b4ba62f..f41143bb4f 100644 --- a/crates/ethereum/cli/src/interface.rs +++ b/crates/ethereum/cli/src/interface.rs @@ -32,7 +32,7 @@ use tracing::info; /// /// This is the entrypoint to the executable. #[derive(Debug, Parser)] -#[command(author, version =version_metadata().short_version.as_ref(), long_version = version_metadata().long_version.as_ref(), about = "Reth", long_about = None)] +#[command(author, name = version_metadata().name_client.as_ref(), version = version_metadata().short_version.as_ref(), long_version = version_metadata().long_version.as_ref(), about = "Reth", long_about = None)] pub struct Cli< C: ChainSpecParser = EthereumChainSpecParser, Ext: clap::Args + fmt::Debug = NoArgs, diff --git a/crates/optimism/cli/src/lib.rs b/crates/optimism/cli/src/lib.rs index 1655b92d6e..52fdcc2ddd 100644 --- a/crates/optimism/cli/src/lib.rs +++ b/crates/optimism/cli/src/lib.rs @@ -62,7 +62,7 @@ use reth_node_metrics as _; /// /// This is the entrypoint to the executable. #[derive(Debug, Parser)] -#[command(author, version = version_metadata().short_version.as_ref(), long_version = version_metadata().long_version.as_ref(), about = "Reth", long_about = None)] +#[command(author, name = version_metadata().name_client.as_ref(), version = version_metadata().short_version.as_ref(), long_version = version_metadata().long_version.as_ref(), about = "Reth", long_about = None)] pub struct Cli< Spec: ChainSpecParser = OpChainSpecParser, Ext: clap::Args + fmt::Debug = RollupArgs,