From: Lin Ma Date: Tue, 8 May 2018 14:20:36 +0000 (+0800) Subject: virsh: Apply macro for current VSH_OT_ARGV "domain" options X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=919bb45b5607a1ae3660a7bcc4080133d88500ec;p=libvirt.git virsh: Apply macro for current VSH_OT_ARGV "domain" options Signed-off-by: Lin Ma --- diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c index 071619d0e3..fa93f3a312 100644 --- a/tools/virsh-domain-monitor.c +++ b/tools/virsh-domain-monitor.c @@ -1991,11 +1991,7 @@ static const vshCmdOptDef opts_domstats[] = { .type = VSH_OT_BOOL, .help = N_("add backing chain information to block stats"), }, - {.name = "domain", - .type = VSH_OT_ARGV, - .flags = VSH_OFLAG_NONE, - .help = N_("list of domains to get stats for"), - }, + VIRSH_COMMON_OPT_DOMAIN_OT_ARGV(N_("list of domains to get stats for"), 0), {.name = NULL} };