Simplier and cleaner implementation of #1468 (#1471)

* Simplier and cleaner implementation of #1468

* move AppInfo into base_path

* default to executable_name rather than pretty visible name
This commit is contained in:
Benjamin Kampmann
2019-01-17 22:26:58 +01:00
committed by Gav Wood
parent a7a0121b09
commit d4eb3872a0
5 changed files with 19 additions and 24 deletions
+2 -1
View File
@@ -54,10 +54,11 @@ quick_main!(run);
fn run() -> cli::error::Result<()> {
let version = VersionInfo {
name: "Substrate Node",
commit: env!("VERGEN_SHA_SHORT"),
version: env!("CARGO_PKG_VERSION"),
executable_name: "substrate",
author: "Parity Team <admin@parity.io>",
author: "Parity Technologies <admin@parity.io>",
description: "Generic substrate node",
};
cli::run(::std::env::args(), Exit, version)