From 0a069ce7f378c83fa3f88ca63eed9af723aebf09 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 23 Jun 2022 11:36:33 +0200 Subject: [PATCH] Rename help string `parachain-collator` -> `parachain-template-node` (#1392) --- parachain-template/node/src/command.rs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/parachain-template/node/src/command.rs b/parachain-template/node/src/command.rs index eedc6e952f..129587625e 100644 --- a/parachain-template/node/src/command.rs +++ b/parachain-template/node/src/command.rs @@ -42,11 +42,13 @@ impl SubstrateCli for Cli { } fn description() -> String { - "Parachain Collator Template\n\nThe command-line arguments provided first will be \ + format!( + "Parachain Collator Template\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relay chain node.\n\n\ - parachain-collator -- " - .into() + {} -- ", + Self::executable_name() + ) } fn author() -> String { @@ -80,11 +82,13 @@ impl SubstrateCli for RelayChainCli { } fn description() -> String { - "Parachain Collator Template\n\nThe command-line arguments provided first will be \ + format!( + "Parachain Collator Template\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relay chain node.\n\n\ - parachain-collator -- " - .into() + {} -- ", + Self::executable_name() + ) } fn author() -> String {