Re: [Qemu-devel] [PATCH v3] qemu-img: correct size parsers and help message

2012-07-18 Thread Eric Blake
On 07/18/2012 07:23 AM, Dong Xu Wang wrote: > qemu-img not only suports k/K/M/G/T/b, but also supports m/g/t/B. So correct > it in help message. > > +++ b/qemu-img.c > @@ -69,8 +69,9 @@ static void help(void) > "options are: 'none', 'writeback' (default, except for > convert), 'w

Re: [Qemu-devel] [PATCH v3] qemu-img: correct size parsers and help message

2012-07-18 Thread Kevin Wolf
Am 18.07.2012 15:23, schrieb Dong Xu Wang: > qemu-img not only suports k/K/M/G/T/b, but also supports m/g/t/B. So correct > it in help message. > > Also use the same parser in parse_option_size function. This is not what the patch does. It uses a parser that seems slightly more compatible with st

[Qemu-devel] [PATCH v3] qemu-img: correct size parsers and help message

2012-07-18 Thread Dong Xu Wang
qemu-img not only suports k/K/M/G/T/b, but also supports m/g/t/B. So correct it in help message. Also use the same parser in parse_option_size function. Signed-off-by: Dong Xu Wang CC: riegama...@gmail.com --- v1->v2: also correct error reporting. v2->v3: use the same parser in parse_option_size