From f079c81a149a64c96b1a396d7d7442c12be59161 Mon Sep 17 00:00:00 2001
From: Seemant Aggarwal <seemant.aggarwal@parity.io>
Date: Tue, 11 Mar 2025 15:20:20 +0530
Subject: [PATCH] addressing nit comments for deprecation notice

---
 polkadot/cli/src/cli.rs             | 2 +-
 substrate/bin/node/cli/src/cli.rs   | 2 +-
 templates/minimal/node/src/cli.rs   | 2 +-
 templates/parachain/node/src/cli.rs | 2 +-
 templates/solochain/node/src/cli.rs | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/polkadot/cli/src/cli.rs b/polkadot/cli/src/cli.rs
index ad7ba14d284..77d178ed69c 100644
--- a/polkadot/cli/src/cli.rs
+++ b/polkadot/cli/src/cli.rs
@@ -26,7 +26,7 @@ use std::path::PathBuf;
 pub enum Subcommand {
 	/// Build a chain specification.
 	#[deprecated(
-		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
 	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
diff --git a/substrate/bin/node/cli/src/cli.rs b/substrate/bin/node/cli/src/cli.rs
index dc253c5e4e7..4910d90cd6b 100644
--- a/substrate/bin/node/cli/src/cli.rs
+++ b/substrate/bin/node/cli/src/cli.rs
@@ -79,7 +79,7 @@ pub enum Subcommand {
 
 	/// Build a chain specification.
 	#[deprecated(
-		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
 	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
diff --git a/templates/minimal/node/src/cli.rs b/templates/minimal/node/src/cli.rs
index 5f5fb42914d..43810321344 100644
--- a/templates/minimal/node/src/cli.rs
+++ b/templates/minimal/node/src/cli.rs
@@ -60,7 +60,7 @@ pub enum Subcommand {
 
 	/// Build a chain specification.
 	#[deprecated(
-		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
 	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
diff --git a/templates/parachain/node/src/cli.rs b/templates/parachain/node/src/cli.rs
index 7c8a8d65269..cfa1f0d1c79 100644
--- a/templates/parachain/node/src/cli.rs
+++ b/templates/parachain/node/src/cli.rs
@@ -7,7 +7,7 @@ use std::path::PathBuf;
 pub enum Subcommand {
 	/// Build a chain specification.
 	#[deprecated(
-		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
 	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
diff --git a/templates/solochain/node/src/cli.rs b/templates/solochain/node/src/cli.rs
index 4df320ab187..8b0544793da 100644
--- a/templates/solochain/node/src/cli.rs
+++ b/templates/solochain/node/src/cli.rs
@@ -16,7 +16,7 @@ pub enum Subcommand {
 
 	/// Build a chain specification.
 	#[deprecated(
-		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
 	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
-- 
GitLab