File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
substrate/bin/utils/chain-spec-builder/src Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff 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 ) ]
210213pub 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 ,
You can’t perform that action at this time.
0 commit comments