Fix export genesis command (#395)

This commit is contained in:
Bastian Köcher
2021-04-11 10:34:31 +02:00
committed by GitHub
parent 50037a82e8
commit dfdee4cb52
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -60,8 +60,10 @@ pub struct ExportGenesisStateCommand {
pub output: Option<PathBuf>,
/// Id of the parachain this state is for.
#[structopt(long, default_value = "100", conflicts_with = "chain")]
pub parachain_id: u32,
///
/// Default: 100
#[structopt(long, conflicts_with = "chain")]
pub parachain_id: Option<u32>,
/// Write output in binary. Default is to write in hex.
#[structopt(short, long)]