From 65b475355f514ef77271272b82d1a96804d3203c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ecl=C3=A9sio=20Junior?= Date: Fri, 23 Jul 2021 23:13:27 -0300 Subject: [PATCH] fix(docs): improve build-spec usage docs (#1706) * feat: improve build-spec usage docs * add doc to use build-spec command using --output flag --- docs/docs/usage/import-runtime.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/usage/import-runtime.md b/docs/docs/usage/import-runtime.md index df39cd91d4..e70af1e98f 100644 --- a/docs/docs/usage/import-runtime.md +++ b/docs/docs/usage/import-runtime.md @@ -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.