[PATCH 08/12] virsh: domdisplay: options --all and --type are mutually exclusive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Lin Ma <lma@xxxxxxx>
---
 tools/virsh-domain.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 657a0532db..8d7f45091c 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -11526,6 +11526,8 @@ cmdDomDisplay(vshControl *ctl, const vshCmd *cmd)
     const char *xpath_fmt = "string(/domain/devices/graphics[@type='%s']/%s)";
     virSocketAddr addr;
 
+    VSH_EXCLUSIVE_OPTIONS("all", "type");
+
     if (!(dom = virshCommandOptDomain(ctl, cmd, NULL)))
         return false;
 
-- 
2.26.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux