]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: Allow -o help with incomplete argument list
authorKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 15:24:07 +0000 (16:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 21:10:28 +0000 (22:10 +0100)
commita283cb6e58fca846c658360971d23fdd1129db65
tree277a688f947d6f79bdac06d76fa07f51f5f878b3
parent626f84f39d4ae365a44dbbc0d0dd3c7739c3971a
qemu-img: Allow -o help with incomplete argument list

This patch allows using 'qemu-img $subcmd -o help' for the create,
convert and amend subcommands, without specifying the previously
required filename arguments.

Note that it's still allowed and meaningful to specify a filename: An
invocation like 'qemu-img create -o help sheepdog:foo' will also display
options that are provided by the Sheepdog driver.

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