Skip to content

Commit

Permalink
fix(cmd): allow --genesis flag to be passed to base command (#2427)
Browse files Browse the repository at this point in the history
  • Loading branch information
noot authored Mar 23, 2022
1 parent 6a7b223 commit 7f5b5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gossamer/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ var (
// local flag sets for the root gossamer command and all subcommands
var (
// RootFlags are the flags that are valid for use with the root gossamer command
RootFlags = append(GlobalFlags, StartupFlags...)
RootFlags = append(append(GlobalFlags, StartupFlags...), GenesisFlag)

// InitFlags are flags that are valid for use with the init subcommand
InitFlags = append([]cli.Flag{
Expand Down

0 comments on commit 7f5b5aa

Please sign in to comment.