chore(cli): fix clap deprecated warnings (#6872)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
This commit is contained in:
DaniPopes
2024-02-29 15:24:13 +02:00
committed by GitHub
parent 6b5b6f7a40
commit 17818e79d4
35 changed files with 77 additions and 78 deletions

View File

@ -38,7 +38,7 @@ impl RethCliExt for MyRethCliExt {
#[derive(Debug, Clone, Copy, Default, clap::Args)]
struct RethCliTxpoolExt {
/// CLI flag to enable the txpool extension namespace
#[clap(long)]
#[arg(long)]
pub enable_ext: bool,
}