Skip to content

Commit 9047369

Browse files
authored
chore(cli): remove useless clap visible aliases (#12735)
1 parent aa40ad2 commit 9047369

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/anvil/src/cmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub struct NodeArgs {
100100
#[arg(long, visible_alias = "no-mine", conflicts_with = "block_time")]
101101
pub no_mining: bool,
102102

103-
#[arg(long, visible_alias = "mixed-mining", requires = "block_time")]
103+
#[arg(long, requires = "block_time")]
104104
pub mixed_mining: bool,
105105

106106
/// The hosts the server will listen on.

crates/cli/src/opts/evm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pub struct EnvArgs {
237237
pub block_prevrandao: Option<B256>,
238238

239239
/// The block gas limit.
240-
#[arg(long, visible_aliases = &["block-gas-limit", "gas-limit"], value_name = "BLOCK_GAS_LIMIT")]
240+
#[arg(long, visible_alias = "gas-limit", value_name = "BLOCK_GAS_LIMIT")]
241241
#[serde(skip_serializing_if = "Option::is_none")]
242242
pub block_gas_limit: Option<u64>,
243243

crates/evm/networks/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub mod celo;
2020
#[derive(Clone, Debug, Default, Parser, Copy, Serialize, Deserialize, PartialEq)]
2121
pub struct NetworkConfigs {
2222
/// Enable Optimism network features.
23-
#[arg(help_heading = "Networks", long, visible_alias = "optimism", conflicts_with = "celo")]
23+
#[arg(help_heading = "Networks", long, conflicts_with = "celo")]
2424
// Skipped from configs (forge) as there is no feature to be added yet.
2525
#[serde(skip)]
2626
optimism: bool,

0 commit comments

Comments
 (0)