Skip to content

Commit

Permalink
fix(docs): improve build-spec usage docs (ChainSafe#1706)
Browse files Browse the repository at this point in the history
* feat: improve build-spec usage docs

* add doc to use  build-spec command using --output flag
  • Loading branch information
EclesioMeloJunior authored and timwu20 committed Dec 6, 2021
1 parent 7823c57 commit 65b4753
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/usage/import-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Note: the `import-runtime` subcommand does not validate that the runtime in the
To create the raw genesis file used by the node, you can use the `gossamer build-spec` subcommand.

```
./bin/gossamer build-spec --raw --genesis genesis-spec.json > genesis.json
./bin/gossamer build-spec --raw --genesis-spec genesis-spec.json > genesis.json
or
./bin/gossamer build-spec --raw --genesis-spec genesis-spec.json --output genesis.json
```

This creates a genesis file `genesis.json` that is usable by the node.
Expand Down

0 comments on commit 65b4753

Please sign in to comment.