mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
51ce14e0c1
commit
883441ab68
3
misc.go
3
misc.go
@ -121,7 +121,8 @@ func Render(m *Message, cmd string, args ...interface{}) string {
|
||||
if m.IsCliUA() {
|
||||
switch arg := kit.Simple(args...); cmd {
|
||||
case RENDER_QRCODE: // text [size]
|
||||
return m.Cmdx("cli.qrcode", arg[0])
|
||||
msg := m.Cmd("cli.qrcode", arg[0])
|
||||
return msg.Result()
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user