Chain ID and ParaID don't collide (#425)

This commit is contained in:
Gavin Wood
2021-04-30 17:52:42 +02:00
committed by GitHub
parent cdf8fd94d3
commit 67102885dd
+2 -2
View File
@@ -62,7 +62,7 @@ pub struct ExportGenesisStateCommand {
/// Id of the parachain this state is for. /// Id of the parachain this state is for.
/// ///
/// Default: 100 /// Default: 100
#[structopt(long, conflicts_with = "chain")] #[structopt(long)]
pub parachain_id: Option<u32>, pub parachain_id: Option<u32>,
/// Write output in binary. Default is to write in hex. /// Write output in binary. Default is to write in hex.
@@ -70,7 +70,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, conflicts_with = "parachain-id")] #[structopt(long)]
pub chain: Option<String>, pub chain: Option<String>,
} }