1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
This commit is contained in:
harveyshao 2022-03-23 10:18:13 +08:00
parent 178008f78a
commit 4278590cd2
2 changed files with 2 additions and 1 deletions

View File

@ -86,6 +86,7 @@ func init() {
m.Cmdy(kit.Simple(kit.Keys(msg.Append(kit.KeyExtra(ice.CTX)), msg.Append(kit.KeyExtra(ice.CMD))), arg[2:]))
}},
}, TASK), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
arg = kit.Slice(arg, 0, 2)
begin_time, end_time := _plan_scope(m, 8, arg...)
_plan_list(m, begin_time, end_time)
m.PushPodCmd(cmd, arg...)

View File

@ -24,7 +24,7 @@ func init() {
return
}
arg[0] = kit.Replace(arg[0], "src", "contexts")
m.Cmdy(TOTAL, arg)
m.Cmdy(TOTAL, kit.Slice(arg, 0, 2))
}},
}})
}