virsh: Prefer VIRSH_COMMON_OPT_DOMAIN_FULL over full enumeration

We have a macro that does exactly what is done via full
enumeration.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2016-03-30 17:45:37 +02:00
parent 3b6c818532
commit ee34745f6a

View File

@ -8551,11 +8551,7 @@ static const vshCmdInfo info_perf[] = {
};
static const vshCmdOptDef opts_perf[] = {
{.name = "domain",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
.help = N_("domain name, id or uuid")
},
VIRSH_COMMON_OPT_DOMAIN_FULL,
{.name = "enable",
.type = VSH_OT_STRING,
.help = N_("perf events which will be enabled")