Normalization of CLI options format (CamelCase => kebab-case) (#11194)

* Convert cli options from 'CamelCase' to 'kebab-case'
* Remove not required 'as_str' for 'ExecutionStrategy' option
This commit is contained in:
Davide Galassi
2022-04-11 09:45:45 +02:00
committed by GitHub
parent 9090f0d2a2
commit 641a43a05d
8 changed files with 32 additions and 38 deletions
@@ -387,7 +387,7 @@ pub struct SharedParams {
pub shared_params: sc_cli::SharedParams,
/// The execution strategy that should be used.
#[clap(long, value_name = "STRATEGY", arg_enum, ignore_case = true, default_value = "Wasm")]
#[clap(long, value_name = "STRATEGY", arg_enum, ignore_case = true, default_value = "wasm")]
pub execution: ExecutionStrategy,
/// Type of wasm execution used.