From b05ce3c0e1446a43775d9133d29d25594cf702e0 Mon Sep 17 00:00:00 2001
From: Sergei Shulepov <sergei@parity.io>
Date: Thu, 12 Nov 2020 02:08:22 +0100
Subject: [PATCH] Update doc for the --chain flag (#7520)

---
 substrate/client/cli/src/params/shared_params.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/substrate/client/cli/src/params/shared_params.rs b/substrate/client/cli/src/params/shared_params.rs
index ad9ab040705..3276e5b7c4b 100644
--- a/substrate/client/cli/src/params/shared_params.rs
+++ b/substrate/client/cli/src/params/shared_params.rs
@@ -23,7 +23,10 @@ use structopt::StructOpt;
 /// Shared parameters used by all `CoreParams`.
 #[derive(Debug, StructOpt)]
 pub struct SharedParams {
-	/// Specify the chain specification (one of dev, local, or staging).
+	/// Specify the chain specification.
+	///
+	/// It can be one of the predefined ones (dev, local, or staging) or it can be a path to a file with
+	/// the chainspec (such as one exported by the `build-spec` subcommand).
 	#[structopt(long, value_name = "CHAIN_SPEC")]
 	pub chain: Option<String>,
 
-- 
GitLab