[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] Consolidate printing of block driver option
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] Consolidate printing of block driver options |
Date: |
Mon, 6 Dec 2010 09:32:42 +0000 |
On Mon, Dec 6, 2010 at 8:17 AM, <address@hidden> wrote:
> @@ -694,6 +721,11 @@ static int img_convert(int argc, char **argv)
>
> out_filename = argv[argc - 1];
>
> + if (options && !strcmp(options, "?")) {
> + ret = print_block_option_help(out_filename, out_fmt);
> + goto out2;
> + }
> +
> if (bs_n > 1 && out_baseimg) {
> error("-B makes no sense when concatenating multiple input images");
> return 1;
Why goto out2 and not just return like the bs > 1 && out_baseimg check?
Stefan