From: Lin Ma Date: Fri, 11 Sep 2020 07:06:14 +0000 (+0800) Subject: virsh: domblkinfo: options --all and --device are mutually exclusive X-Git-Tag: v6.8.0-rc1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfdacbeb39d6ea4083c3a26ad53472254f1dca2f;p=thirdparty%2Flibvirt.git virsh: domblkinfo: options --all and --device are mutually exclusive Signed-off-by: Lin Ma Reviewed-by: Ján Tomko Signed-off-by: Ján Tomko --- diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c index 4c0da3c695..848efc8aa3 100644 --- a/tools/virsh-domain-monitor.c +++ b/tools/virsh-domain-monitor.c @@ -469,6 +469,8 @@ cmdDomblkinfo(vshControl *ctl, const vshCmd *cmd) char *phy = NULL; vshTablePtr table = NULL; + VSH_EXCLUSIVE_OPTIONS("all", "device"); + if (!(dom = virshCommandOptDomain(ctl, cmd, NULL))) return false;