diff --git a/base/cli/system.go b/base/cli/system.go index 469ff4e6..8c09ab9f 100644 --- a/base/cli/system.go +++ b/base/cli/system.go @@ -99,7 +99,7 @@ func init() { }, Commands: map[string]*ice.Command{ SYSTEM: {Name: "system cmd run:button", Help: "系统命令", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) { if len(arg) == 0 { - mdb.ListSelect(m, arg) + mdb.ListSelect(m, arg...) return } m.Grow(SYSTEM, "", kit.Dict(kit.MDB_TIME, m.Time(), ice.CMD, kit.Join(arg, ice.SP)))