]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Error out if VSH_OT_STRING option has VSH_OFLAG_REQ flag
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Nov 2014 11:03:11 +0000 (12:03 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 13 Nov 2014 14:44:23 +0000 (15:44 +0100)
commit6b99642f0a40bc92b3e2a10bb1a9b8fac2b19545
treee4fbce17bc68838dffb6961dacf1e3de3fb4a413
parent6beb173df70300df01445f4d64f26e1fb927614d
virsh: Error out if VSH_OT_STRING option has VSH_OFLAG_REQ flag

Recent commit 12bd207e217f3c5dc2272a5ea943b81067bd8034 fixed few
VSH_OT_STRING options that should've been VSH_OT_DATA.  That lead me to
this commit that enforces people to check that newly added options have
proper type.  Thanks to virsh erroring out with error message, this will
immediately show up in 'make check' thanks to our virsh-synopsis test.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tools/virsh.c