mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Do not accept --parachain-id and --chain together (#393)
This commit is contained in:
@@ -60,7 +60,7 @@ pub struct ExportGenesisStateCommand {
|
|||||||
pub output: Option<PathBuf>,
|
pub output: Option<PathBuf>,
|
||||||
|
|
||||||
/// Id of the parachain this state is for.
|
/// Id of the parachain this state is for.
|
||||||
#[structopt(long, default_value = "100")]
|
#[structopt(long, default_value = "100", conflicts_with = "chain")]
|
||||||
pub parachain_id: u32,
|
pub parachain_id: u32,
|
||||||
|
|
||||||
/// Write output in binary. Default is to write in hex.
|
/// Write output in binary. Default is to write in hex.
|
||||||
@@ -68,7 +68,7 @@ pub struct ExportGenesisStateCommand {
|
|||||||
pub raw: bool,
|
pub raw: bool,
|
||||||
|
|
||||||
/// The name of the chain for that the genesis state should be exported.
|
/// The name of the chain for that the genesis state should be exported.
|
||||||
#[structopt(long)]
|
#[structopt(long, conflicts_with = "parachain-id")]
|
||||||
pub chain: Option<String>,
|
pub chain: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user