提交 ee34745f 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 3b6c8185
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册