From 0601361c122ecb87b51bfc08dc088813c9a843a1 Mon Sep 17 00:00:00 2001 From: Chen Kai <281165273grape@gmail.com> Date: Sat, 2 Nov 2024 14:25:16 +0800 Subject: [PATCH] fix:remove flags merge Signed-off-by: Chen Kai <281165273grape@gmail.com> --- cmd/shisui/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/shisui/main.go b/cmd/shisui/main.go index 35e754c09c00..7cd59088e1ea 100644 --- a/cmd/shisui/main.go +++ b/cmd/shisui/main.go @@ -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") }