Skip to content

Commit 16887b6

Browse files
chain-spec-builder: help updated (#4597)
Added some clarification on output file.
1 parent ce3e9b7 commit 16887b6

File tree

1 file changed

+5
-0
lines changed
  • substrate/bin/utils/chain-spec-builder/src

1 file changed

+5
-0
lines changed

substrate/bin/utils/chain-spec-builder/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,14 @@ struct NamedPresetCmd {
206206
///
207207
/// The code field of the chain spec will be updated with the runtime provided in the
208208
/// command line. This operation supports both plain and raw formats.
209+
///
210+
/// This command does not update chain-spec file in-place. The result of this command will be stored
211+
/// in a file given as `-c/--chain-spec-path` command line argument.
209212
#[derive(Parser, Debug, Clone)]
210213
pub struct UpdateCodeCmd {
211214
/// Chain spec to be updated.
215+
///
216+
/// Please note that the file will not be updated in-place.
212217
pub input_chain_spec: PathBuf,
213218
/// The path to new runtime wasm blob to be stored into chain-spec.
214219
pub runtime_wasm_path: PathBuf,

0 commit comments

Comments
 (0)