[libvirt] [PATCH 07/12] virsh-pool: Add virshPoolTypeCompleter in macro VIRSH_COMMON_OPT_POOL_X_AS

Lin Ma lma at suse.com
Tue Jun 15 00:38:27 UTC 2021


Signed-off-by: Lin Ma <lma at suse.com>
---
 tools/virsh-pool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
index e8d3c33506..34ed86152e 100644
--- a/tools/virsh-pool.c
+++ b/tools/virsh-pool.c
@@ -64,6 +64,7 @@
     {.name = "type", \
      .type = VSH_OT_DATA, \
      .flags = VSH_OFLAG_REQ, \
+     .completer = virshPoolTypeCompleter, \
      .help = N_("type of the pool") \
     }, \
     {.name = "print-xml", \
-- 
2.26.2





More information about the libvir-list mailing list