diff --git a/src/contexts/cli/version.go b/src/contexts/cli/version.go index 1ee65a97..29028599 100644 --- a/src/contexts/cli/version.go +++ b/src/contexts/cli/version.go @@ -4,5 +4,5 @@ var version = struct { host string self int }{ - "2019-07-10 04:23:04", "ZYB-20190522USI.ubuntu", 135, + "2019-07-10 05:27:50", "ZYB-20190522USI.ubuntu", 136, } diff --git a/src/contexts/ctx/ctx.go b/src/contexts/ctx/ctx.go index 2742574a..50533399 100644 --- a/src/contexts/ctx/ctx.go +++ b/src/contexts/ctx/ctx.go @@ -667,6 +667,9 @@ var Index = &Context{Name: "ctx", Help: "模块中心", Server: &CTX{}, switch action { case "cmd": + if arg[0] == "command" { + arg = arg[1:] + } if msg.Cmd(arg); !msg.Hand { msg = msg.Cmd("cli.cmd", arg) }