]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh-pool: Add virshPoolTypeCompleter in macro VIRSH_COMMON_OPT_POOL_X_AS
authorLin Ma <lma@suse.com>
Tue, 15 Jun 2021 00:38:27 +0000 (08:38 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Jun 2021 08:28:04 +0000 (10:28 +0200)
Signed-off-by: Lin Ma <lma@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-pool.c

index e8d3c3350677bd6997ed254ac62bea77b87de480..34ed86152e49cabe28311c0a490d480551a1ee0b 100644 (file)
@@ -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", \