On Mon, Dec 06, 2010 at 03:25:38PM +0100, jes.soren...@redhat.com wrote: > From: Jes Sorensen <jes.soren...@redhat.com> > > 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.soren...@redhat.com> > --- > qemu-img.c | 46 +++++++++++++++++++++++++++++++++++++--------- > 1 files changed, 37 insertions(+), 9 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>