Skip to content

Commit

Permalink
fix:remove flags merge
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Nov 2, 2024
1 parent 5df1ec4 commit 0601361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/shisui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var (

func init() {
app.Action = shisui
app.Flags = flags.Merge(portalProtocolFlags, historyRpcFlags, metricsFlags)
app.Flags = slices.Concat(portalProtocolFlags, historyRpcFlags, metricsFlags)
flags.AutoEnvVars(app.Flags, "SHISUI")
}

Expand Down

0 comments on commit 0601361

Please sign in to comment.