1
0
forked from x/ContextOS

tce fix bug

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

View File

@ -2045,13 +2045,12 @@ 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
}
}
}
switch len(arg) {
case 0: