Pass RunCmd to user (#2425)

This commit is contained in:
Xiliang Chen
2019-05-02 06:08:17 +12:00
committed by Bastian Köcher
parent 6be7eee754
commit ef142722e3
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ pub fn run<I, T, E>(args: I, exit: E, version: VersionInfo) -> error::Result<()>
{
parse_and_execute::<service::Factory, NoCustom, NoCustom, _, _, _, _, _>(
load_spec, &version, "substrate-node", args, exit,
|exit, _custom_args, config| {
|exit, _cli_args, _custom_args, config| {
info!("{}", version.name);
info!(" version {}", config.full_version());
info!(" by {}, 2017, 2018", version.author);