mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +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[] = {
|
||||
{.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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user