Signed-off-by: Lin Ma <l...@suse.com>
---
 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


Reply via email to