]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: volume: Mark optional 'pool' argument as 'positional'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Mar 2024 14:34:03 +0000 (15:34 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:29 +0000 (14:24 +0200)
commite31cd4636436d8f49562d4168672893a1f6fa0ce
treef929cf252608459a5a90233a8c3a91a189a4911f
parent1304ef40a9608550685bb2addb1d7dec0545c2e6
virsh: volume: Mark optional 'pool' argument as 'positional'

Annotate arguments which can be unintentionally parsed positionally.
(See previous commits for explanation.)

The pool name is optional but in all cases it can be promoted to an
optional positional argument so that it can be properly aligned with the
expectations of the parser.

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