]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-img.c
Consolidate printing of block driver options
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 6 Dec 2010 14:25:38 +0000 (15:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Dec 2010 14:44:21 +0000 (15:44 +0100)
commit4ac8aacd954bbc9f3c3006a19cdf13be3caf7ae8
tree8d6b92e2aa8aec45e7aea2aeb1500fc4c6ed33eb
parent31ca34b8cc2efe1b7e3f726dedb30c450a81abaf
Consolidate printing of block driver options

This consolidates the printing of block driver options in
print_block_option_help() which is called from both img_create() and
img_convert().

This allows for the "?" detection to be done just after the parsing of
options and the filename, instead of half way down the codepath of
these functions.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c