Skip to content
Snippets Groups Projects
Commit 50037a82 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Do not accept `--parachain-id` and `--chain` together (#393)

parent db7fdce9
No related merge requests found
......@@ -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>,
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment