qemu-img: Support help options for --object
commitc6e5cdfd4b06918a6bcefa2039af7253dbd5e3c0
authorKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2019 19:49:17 +0000 (11 21:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Oct 2019 15:12:48 +0000 (14 17:12 +0200)
tree67599ef844cdb2ef1cecd0e4e2b02c13800ee62f
parent4fa1f0dc052968b41d2bdffd9cb9fcab8137cdaf
qemu-img: Support help options for --object

Instead of parsing help options as normal object properties and
returning an error, provide the same help functionality as the system
emulator in qemu-img, too.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qemu-img.c