[PATCH 06/19] virsh: Add interface name completion to iface-bridge command

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

 



Signed-off-by: Lin Ma <lma@xxxxxxxx>
---
 tools/virsh-interface.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c
index 6c47767754..13e120d7a0 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -785,11 +785,7 @@ static const vshCmdInfo info_interface_bridge[] = {
 };
 
 static const vshCmdOptDef opts_interface_bridge[] = {
-    {.name = "interface",
-     .type = VSH_OT_DATA,
-     .flags = VSH_OFLAG_REQ,
-     .help = N_("existing interface name")
-    },
+    VIRSH_COMMON_OPT_INTERFACE(N_("existing interface name"), 0),
     {.name = "bridge",
      .type = VSH_OT_DATA,
      .flags = VSH_OFLAG_REQ,
-- 
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