[libvirt] [PATCH 07/12] virsh: domblkinfo: options --all and --device are mutually exclusive

Lin Ma posted 12 patches 5 years, 5 months ago
There is a newer version of this series
[libvirt] [PATCH 07/12] virsh: domblkinfo: options --all and --device are mutually exclusive
Posted by Lin Ma 5 years, 5 months ago
Signed-off-by: Lin Ma <lma@suse.de>
---
 tools/virsh-domain-monitor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c
index 0111116885..a813476936 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;
 
-- 
2.26.0

Re: [libvirt] [PATCH 07/12] virsh: domblkinfo: options --all and --device are mutually exclusive
Posted by Ján Tomko 5 years, 4 months ago
On a Friday in 2020, Lin Ma wrote:
>Signed-off-by: Lin Ma <lma@suse.de>
>---
> tools/virsh-domain-monitor.c | 2 ++
> 1 file changed, 2 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano