mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 12:55:45 +00:00
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:
parent
3b6c818532
commit
ee34745f6a
@ -8551,11 +8551,7 @@ static const vshCmdInfo info_perf[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const vshCmdOptDef opts_perf[] = {
|
static const vshCmdOptDef opts_perf[] = {
|
||||||
{.name = "domain",
|
VIRSH_COMMON_OPT_DOMAIN_FULL,
|
||||||
.type = VSH_OT_DATA,
|
|
||||||
.flags = VSH_OFLAG_REQ,
|
|
||||||
.help = N_("domain name, id or uuid")
|
|
||||||
},
|
|
||||||
{.name = "enable",
|
{.name = "enable",
|
||||||
.type = VSH_OT_STRING,
|
.type = VSH_OT_STRING,
|
||||||
.help = N_("perf events which will be enabled")
|
.help = N_("perf events which will be enabled")
|
||||||
|
Loading…
Reference in New Issue
Block a user