diff --git a/bin/chain-bootstrapper/src/main.rs b/bin/chain-bootstrapper/src/main.rs index 87eef75514..1ff8e27474 100644 --- a/bin/chain-bootstrapper/src/main.rs +++ b/bin/chain-bootstrapper/src/main.rs @@ -1,8 +1,10 @@ mod chain_spec; use sc_chain_spec::ChainSpec; -use sc_cli::clap::{self, Parser, Subcommand as ClapSubcommand}; -use sc_cli::SubstrateCli; +use sc_cli::{ + clap::{self, Parser, Subcommand as ClapSubcommand}, + SubstrateCli, +}; use crate::chain_spec::{BootstrapChainCmd, ConvertChainspecToRawCmd}; @@ -64,7 +66,6 @@ fn main() -> sc_cli::Result<()> { Some(Subcommand::ConvertChainspecToRaw(cmd)) => cmd.run(), Some(Subcommand::Key(cmd)) => cmd.run(&cli), - None => Err("Command was required!".into()), } }