Skip to content

Commit

Permalink
fix: update IDs in conflicts_with
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Feb 29, 2024
1 parent 5c4456b commit 7760c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/anvil/server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct ServerConfig {
/// Whether to enable CORS
#[cfg_attr(
feature = "clap",
arg(long, help = "Disable CORS", conflicts_with = "allow-origin")
arg(long, help = "Disable CORS", conflicts_with = "allow_origin")
)]
pub no_cors: bool,
}
Expand Down
2 changes: 1 addition & 1 deletion crates/anvil/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub struct NodeArgs {
pub config_out: Option<String>,

/// Disable auto and interval mining, and mine on demand instead.
#[arg(long, visible_alias = "no-mine", conflicts_with = "block-time")]
#[arg(long, visible_alias = "no-mine", conflicts_with = "block_time")]
pub no_mining: bool,

/// The hosts the server will listen on.
Expand Down

0 comments on commit 7760c5f

Please sign in to comment.