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 {