Fix telemetry (and a minor cleanup) (#1384)

This commit is contained in:
Gav Wood authored and GitHub committed 2019-01-10 15:47:12 +01:00
1 parent 42c30609d3
commit a13fda2e83
5 files changed
+45 -33

No files matched your search

+1 -5
View File
@@ -97,15 +97,11 @@ pub struct CoreParams {
#[structopt(long = "name", value_name = "NAME")]
name: Option<String>,
/// Should connect to the Substrate telemetry server (telemetry is off by default on local chains)
#[structopt(short = "t", long = "telemetry")]
telemetry: bool,
/// Should not connect to the Substrate telemetry server (telemetry is on by default on global chains)
#[structopt(long = "no-telemetry")]
no_telemetry: bool,
/// The URL of the telemetry server. Implies --telemetry
/// The URL of the telemetry server to connect to
#[structopt(long = "telemetry-url", value_name = "TELEMETRY_URL")]
telemetry_url: Option<String>,