forked from x/icebergs
add some
This commit is contained in:
parent
4b27054210
commit
9a192b012f
@ -241,11 +241,7 @@ var Index = &ice.Context{Name: MDB, Help: "数据模块", Commands: ice.Commands
|
|||||||
}},
|
}},
|
||||||
}, ExportHashAction(SHORT, INDEX, FIELD, "time,index,type,enable")), Hand: func(m *ice.Message, arg ...string) {
|
}, ExportHashAction(SHORT, INDEX, FIELD, "time,index,type,enable")), Hand: func(m *ice.Message, arg ...string) {
|
||||||
if len(arg) < 2 {
|
if len(arg) < 2 {
|
||||||
HashSelect(m, arg...)
|
HashSelect(m, arg...).PushAction(REMOVE)
|
||||||
m.PushAction(REMOVE)
|
|
||||||
if len(arg) == 1 {
|
|
||||||
m.Cmdy("nfs.cat", "usr/local/export/"+arg[0]+"/hash.json")
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
m.OptionDefault(CACHE_LIMIT, "-1")
|
m.OptionDefault(CACHE_LIMIT, "-1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user