mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 16:31:07 +00:00
Do not accept --parachain-id and --chain together (#393)
This commit is contained in:
1 parent
cbd72e7ab8
commit
3b4ca53f6c
1 file changed
+2
-2
@@ -60,7 +60,7 @@ pub struct ExportGenesisStateCommand {
|
||||
pub output: Option<PathBuf>,
|
||||
|
||||
/// 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,
|
||||
|
||||
/// Write output in binary. Default is to write in hex.
|
||||
@@ -68,7 +68,7 @@ pub struct ExportGenesisStateCommand {
|
||||
pub raw: bool,
|
||||
|
||||
/// 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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user