Skip to content

Commit

Permalink
chain-spec-builder: help updated (paritytech#4597)
Browse files Browse the repository at this point in the history
Added some clarification on output file.
  • Loading branch information
michalkucharczyk authored and TarekkMA committed Aug 2, 2024
1 parent 450ca67 commit 870b824
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions substrate/bin/utils/chain-spec-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,14 @@ struct NamedPresetCmd {
///
/// The code field of the chain spec will be updated with the runtime provided in the
/// command line. This operation supports both plain and raw formats.
///
/// This command does not update chain-spec file in-place. The result of this command will be stored
/// in a file given as `-c/--chain-spec-path` command line argument.
#[derive(Parser, Debug, Clone)]
pub struct UpdateCodeCmd {
/// Chain spec to be updated.
///
/// Please note that the file will not be updated in-place.
pub input_chain_spec: PathBuf,
/// The path to new runtime wasm blob to be stored into chain-spec.
pub runtime_wasm_path: PathBuf,
Expand Down

0 comments on commit 870b824

Please sign in to comment.