From 7f5b5aa3ff23c7c41b2d058552966db011d185ba Mon Sep 17 00:00:00 2001 From: noot <36753753+noot@users.noreply.github.com> Date: Wed, 23 Mar 2022 15:45:15 -0400 Subject: [PATCH] fix(cmd): allow --genesis flag to be passed to base command (#2427) --- cmd/gossamer/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gossamer/flags.go b/cmd/gossamer/flags.go index 2c582c7a41..58fe0d1ea2 100644 --- a/cmd/gossamer/flags.go +++ b/cmd/gossamer/flags.go @@ -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{