]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: undefine: Rename --delete-snapshots to --delete-storage-volume-snapshots
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2019 11:06:58 +0000 (13:06 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Jun 2019 08:26:37 +0000 (10:26 +0200)
commit86608f787ee80e9c9bfa1fe9098b2b0fc8116fcc
treea8ae16780c709ad9bf844edf45e7de0c6437111c
parentb739913827873f4fc4460cd54776aa84db186f4b
virsh: undefine: Rename --delete-snapshots to --delete-storage-volume-snapshots

The old flag name confused some users into thinking it's the correct way
to undefine a VM with libvirt (not storage volume) snapshots.

The correct flag in that case is way less obvious: --snapshots-metadata.

Rename the flag (by adding an alias) to something which will promote
looking up the actual purpose of the flag.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
ACKed-by: Eric Blake <eblake@redhat.com>
tools/virsh-domain.c
tools/virsh.pod