From afba04ee3d56933ff84da4fb83d02056c12cb5aa Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 28 Nov 2018 07:14:22 +0000 Subject: [PATCH] =?UTF-8?q?mcclient:=20options:=20servers:=20server-monito?= =?UTF-8?q?r=E6=94=AF=E6=8C=81--admin=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/mcclient/options/servers.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/mcclient/options/servers.go b/pkg/mcclient/options/servers.go index 6aad6d4046..bd03e45a51 100644 --- a/pkg/mcclient/options/servers.go +++ b/pkg/mcclient/options/servers.go @@ -261,8 +261,10 @@ type ServerSendKeyOptions struct { } type ServerMonitorOptions struct { - ID string `help:"ID or Name of server" json:"-"` + ID string `help:"ID or Name of server" json:"-"` + COMMAND string `help:"Qemu Monitor command to send"` + Admin *bool `help:"Is this an admin call?"` } type ServerSaveImageOptions struct {