forked from x/icebergs
add some
This commit is contained in:
parent
bfaf7380e1
commit
120e65bb92
@ -161,7 +161,9 @@ func RenderPodCmd(m *ice.Message, pod, cmd string, arg ...ice.Any) {
|
|||||||
RenderResult(m, kit.Format("not found command %s", cmd))
|
RenderResult(m, kit.Format("not found command %s", cmd))
|
||||||
} else {
|
} else {
|
||||||
m.OptionDefault(mdb.ICONS, m.Resource(msg.Append(mdb.ICONS)))
|
m.OptionDefault(mdb.ICONS, m.Resource(msg.Append(mdb.ICONS)))
|
||||||
m.OptionDefault(TITLE, kit.Select(cmd, msg.Append(mdb.HELP)+kit.Select("", " "+pod, pod != ""), !m.IsEnglish()))
|
if !kit.IsIn(cmd, PORTAL, DESKTOP, ADMIN) {
|
||||||
|
m.OptionDefault(TITLE, kit.Select(cmd, msg.Append(mdb.HELP)+kit.Select("", " "+pod, pod != ""), !m.IsEnglish()))
|
||||||
|
}
|
||||||
RenderCmds(m, kit.Dict(msg.AppendSimple(), ctx.ARGS, kit.Simple(arg), ctx.DISPLAY, m.Option(ice.MSG_DISPLAY)))
|
RenderCmds(m, kit.Dict(msg.AppendSimple(), ctx.ARGS, kit.Simple(arg), ctx.DISPLAY, m.Option(ice.MSG_DISPLAY)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user