1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

tce fix bug

This commit is contained in:
shaoying 2018-05-14 18:45:37 +08:00
parent 4fe29a255e
commit 46a3bbc8ef

View File

@ -2045,12 +2045,11 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
return
case "list":
for i := 0; i < m.Capi("part"); i++ {
if c, ok := m.target.Commands[fmt.Sprintf("%d", i)]; ok {
m.Echo("%d: %s\n", i, c.Name)
return
}
}
return
}
switch len(arg) {