virsh: Apply macro for current VSH_OT_ARGV "domain" options

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma 2018-05-08 22:20:36 +08:00 committed by Michal Privoznik
parent 90396d795a
commit 919bb45b56

View File

@ -1991,11 +1991,7 @@ static const vshCmdOptDef opts_domstats[] = {
.type = VSH_OT_BOOL, .type = VSH_OT_BOOL,
.help = N_("add backing chain information to block stats"), .help = N_("add backing chain information to block stats"),
}, },
{.name = "domain", VIRSH_COMMON_OPT_DOMAIN_OT_ARGV(N_("list of domains to get stats for"), 0),
.type = VSH_OT_ARGV,
.flags = VSH_OFLAG_NONE,
.help = N_("list of domains to get stats for"),
},
{.name = NULL} {.name = NULL}
}; };