]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: snapshot: Make 'snapshotname' argument positional
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2024 22:01:18 +0000 (23:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:29 +0000 (14:24 +0200)
commit29f3ac42235b88c1d018494523d76968617972f4
treec93055ed70f104e3116f6c146ece01b9edfb53a3
parent0ce337b20ccee09f124590f439107c73cd9d2715
virsh: snapshot: Make 'snapshotname' argument positional

The 'snapshotname' argument is optional as by default "current" snapshot
is considered. Regardless of that we should treat it as positional as
it's the common usage. This is now possible as we can have one optional
positional argument.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-snapshot.c