Skip to content

Commit 227de98

Browse files
authored
Merge pull request #25 from thrumdev/comb-cli
sugondat-node: comb CLI
2 parents 504fbbe + e0302e9 commit 227de98

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

sugondat-chain/node/src/command.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ use crate::{
2323
fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {
2424
Ok(match id {
2525
"dev" => Box::new(chain_spec::development_config()),
26-
"template-rococo" => Box::new(chain_spec::local_testnet_config()),
26+
"sugondat-rococo" => Box::new(chain_spec::local_testnet_config()),
2727
"" | "local" => Box::new(chain_spec::local_testnet_config()),
2828
path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?),
2929
})
3030
}
3131

3232
impl SubstrateCli for Cli {
3333
fn impl_name() -> String {
34-
"Parachain Collator Template".into()
34+
"Sugondat Node".into()
3535
}
3636

3737
fn impl_version() -> String {
@@ -40,7 +40,7 @@ impl SubstrateCli for Cli {
4040

4141
fn description() -> String {
4242
format!(
43-
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
43+
"Sugondat Node\n\nThe command-line arguments provided first will be \
4444
passed to the parachain node, while the arguments provided after -- will be passed \
4545
to the relay chain node.\n\n\
4646
{} <parachain-args> -- <relay-chain-args>",
@@ -53,11 +53,11 @@ impl SubstrateCli for Cli {
5353
}
5454

5555
fn support_url() -> String {
56-
"https://github.com/paritytech/cumulus/issues/new".into()
56+
"https://github.com/thrumdev/sugondat".into()
5757
}
5858

5959
fn copyright_start_year() -> i32 {
60-
2020
60+
2023
6161
}
6262

6363
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
@@ -67,7 +67,7 @@ impl SubstrateCli for Cli {
6767

6868
impl SubstrateCli for RelayChainCli {
6969
fn impl_name() -> String {
70-
"Parachain Collator Template".into()
70+
"Sugondat Node".into()
7171
}
7272

7373
fn impl_version() -> String {
@@ -76,7 +76,7 @@ impl SubstrateCli for RelayChainCli {
7676

7777
fn description() -> String {
7878
format!(
79-
"Parachain Collator Template\n\nThe command-line arguments provided first will be \
79+
"Sugondat Node\n\nThe command-line arguments provided first will be \
8080
passed to the parachain node, while the arguments provided after -- will be passed \
8181
to the relay chain node.\n\n\
8282
{} <parachain-args> -- <relay-chain-args>",
@@ -89,11 +89,11 @@ impl SubstrateCli for RelayChainCli {
8989
}
9090

9191
fn support_url() -> String {
92-
"https://github.com/paritytech/cumulus/issues/new".into()
92+
"https://github.com/thrumdev/sugondat".into()
9393
}
9494

9595
fn copyright_start_year() -> i32 {
96-
2020
96+
2023
9797
}
9898

9999
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {

sugondat-chain/node/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Substrate Parachain Node Template CLI
1+
//! Substrate Sugondat Node CLI
22
33
#![warn(missing_docs)]
44

0 commit comments

Comments
 (0)