]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh-snapshot: Use 'virshSnapshotNameCompleter' for '--from' of 'snapshot-list'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Sep 2021 12:31:13 +0000 (14:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 17 Sep 2021 07:40:46 +0000 (09:40 +0200)
commit573385dc9cc73f50cf89d387ebad4b0802c3b2ee
tree4cd30c9944dadd07fbb68f3f501fd421925eed70
parent8f5b8fac33910f743ed5ee17950f8fe541384415
virsh-snapshot: Use 'virshSnapshotNameCompleter' for '--from' of 'snapshot-list'

When listing a snapshot tree, the '--from' option takes a name of a
snapshot to limit the subset. Use virshSnapshotNameCompleter as
completer for the option.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-snapshot.c