Minor fixes to CLI arg docs (#5339)

* minor fixes to CLI arg docs

* Update client/cli/src/params/shared_params.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
joe petrowski
2020-03-21 08:52:57 +01:00
committed by GitHub
parent 71aef91099
commit 40f57f8ffa
6 changed files with 25 additions and 22 deletions
+4 -4
View File
@@ -50,7 +50,7 @@ const DEFAULT_NETWORK_CONFIG_PATH : &'static str = "network";
/// `Run` are exported as main executable parameters.
#[derive(Debug, Clone, StructOpt)]
pub enum Subcommand {
/// Build a spec.json file, outputing to stdout.
/// Build a spec.json file, outputs to stdout.
BuildSpec(build_spec_cmd::BuildSpecCmd),
/// Export blocks to a file.
@@ -70,7 +70,7 @@ pub enum Subcommand {
}
impl Subcommand {
/// Get the shared parameters of a `CoreParams` command
/// Get the shared parameters of a `CoreParams` command.
pub fn get_shared_params(&self) -> &SharedParams {
use Subcommand::*;
@@ -84,7 +84,7 @@ impl Subcommand {
}
}
/// Run any `CoreParams` command
/// Run any `CoreParams` command.
pub fn run<B, BC, BB>(
self,
config: Configuration,
@@ -107,7 +107,7 @@ impl Subcommand {
}
}
/// Update and prepare a `Configuration` with command line parameters
/// Update and prepare a `Configuration` with command line parameters.
pub fn update_config<F>(
&self,
mut config: &mut Configuration,