deps: update clap and structopt (#3809)

This commit is contained in:
André Silva
2019-10-12 18:31:49 +01:00
committed by GitHub
parent ea3b9bf393
commit 6e5fe1a557
9 changed files with 92 additions and 104 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ grandpa_primitives = { package = "substrate-finality-grandpa-primitives", path =
sr-primitives = { path = "../../core/sr-primitives" }
node-executor = { path = "../executor" }
substrate-telemetry = { package = "substrate-telemetry", path = "../../core/telemetry" }
structopt = "0.2.0"
structopt = "0.3.3"
transaction-factory = { path = "../../test-utils/transaction-factory" }
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
indices = { package = "srml-indices", path = "../../srml/indices" }
@@ -63,4 +63,4 @@ tempfile = "3.1.0"
[build-dependencies]
cli = { package = "substrate-cli", path = "../../core/cli" }
structopt = "0.2.0"
structopt = "0.3.3"
+3 -5
View File
@@ -108,11 +108,9 @@ pub struct FactoryCmd {
#[structopt(
long = "execution",
value_name = "STRATEGY",
raw(
possible_values = "&ExecutionStrategyParam::variants()",
case_insensitive = "true",
default_value = r#""NativeElseWasm""#
)
possible_values = &ExecutionStrategyParam::variants(),
case_insensitive = true,
default_value = "NativeElseWasm"
)]
pub execution: ExecutionStrategyParam,
}