mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Upgrade clap to v4 (#678)
This commit is contained in:
@@ -29,13 +29,13 @@ use subxt_metadata::{
|
||||
#[derive(Debug, ClapParser)]
|
||||
pub struct Opts {
|
||||
/// Urls of the substrate nodes to verify for metadata compatibility.
|
||||
#[clap(name = "nodes", long, use_delimiter = true, parse(try_from_str))]
|
||||
#[clap(name = "nodes", long, use_value_delimiter = true, value_parser)]
|
||||
nodes: Vec<Uri>,
|
||||
/// Check the compatibility of metadata for a particular pallet.
|
||||
///
|
||||
/// ### Note
|
||||
/// The validation will omit the full metadata check and focus instead on the pallet.
|
||||
#[clap(long, parse(try_from_str))]
|
||||
#[clap(long, value_parser)]
|
||||
pallet: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user