From 675c3b0500eb9d676f8f1e469e42457b53089abb Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 26 Nov 2018 12:58:09 +0300 Subject: [PATCH] fix purge-chain cli option (#1164) --- substrate/core/cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }