Skip to content

Commit

Permalink
Fix executable name (paritytech#306)
Browse files Browse the repository at this point in the history
Signed-off-by: koushiro <[email protected]>
  • Loading branch information
koushiro committed Oct 22, 2020
1 parent 38a21db commit b39c5fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "chainx-cli"
version = "2.0.0-alpha.1"
authors = ["The ChainX Authors"]
description = "Implementation of protocol https://chainx.org in Rust based on the Substrate framework."
edition = "2018"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl SubstrateCli for Cli {
}

fn executable_name() -> String {
env!("CARGO_PKG_NAME").into()
"chainx".into()
}

fn description() -> String {
Expand All @@ -29,11 +29,11 @@ impl SubstrateCli for Cli {
}

fn support_url() -> String {
"https://github.com/chainx-org/ChainX".into()
"https://github.com/chainx-org/ChainX/issues/new".into()
}

fn copyright_start_year() -> i32 {
2020
2019
}

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

0 comments on commit b39c5fb

Please sign in to comment.