Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/gossamer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func setDotGlobalConfigName(ctx *cli.Context, tomlCfg *ctoml.Config, cfg *dot.Gl
}

// consider the name on config as a second priority
if tomlCfg.Global.Name != "" {
if tomlCfg != nil && tomlCfg.Global.Name != "" {
Comment thread
EclesioMeloJunior marked this conversation as resolved.
Outdated
cfg.Name = tomlCfg.Global.Name
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/gossamer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ var (
Description: "The build-spec command outputs current genesis JSON data.\n" +
"\tUsage: gossamer build-spec\n" +
"\tTo generate raw genesis file from default: " +
"gossamer build-spec --raw > genesis.json" +
"gossamer build-spec --raw --output genesis.json" +
"\tTo generate raw genesis file from specific genesis file: " +
"gossamer build-spec --raw --genesis genesis-spec.json > genesis.json",
"gossamer build-spec --raw --genesis genesis-spec.json --output genesis.json",
}

// importRuntime generates a genesis file given a .wasm runtime binary.
Expand Down