diff --git a/substrate/core/cli/src/lib.rs b/substrate/core/cli/src/lib.rs index a435a53d51..7aeec0899f 100644 --- a/substrate/core/cli/src/lib.rs +++ b/substrate/core/cli/src/lib.rs @@ -358,7 +358,7 @@ where return Ok(Action::ExecutedInternally); } - if let Some(matches) = matches.subcommand_matches("purge_chain") { + if let Some(matches) = matches.subcommand_matches("purge-chain") { purge_chain::(matches, spec)?; return Ok(Action::ExecutedInternally); }