Re: [Qemu-devel] [PATCH 1/7] qemu-img create: Detect options specified more than once

2014-02-19 Thread Eric Blake
On 02/19/2014 08:12 AM, Kevin Wolf wrote: > If you specified multiple -o options for qemu-img create, it would > silently ignore all but the last one. Similarly, for other options the > last occurence wins (which is at least a bit less surprising). Error out s/occurence/occurrence/ > instead. Fo

Re: [Qemu-devel] [PATCH 1/7] qemu-img create: Detect options specified more than once

2014-02-19 Thread Fam Zheng
On Wed, 02/19 16:12, Kevin Wolf wrote: > If you specified multiple -o options for qemu-img create, it would > silently ignore all but the last one. Similarly, for other options the > last occurence wins (which is at least a bit less surprising). Error out > instead. > > The only exception is a -o

[Qemu-devel] [PATCH 1/7] qemu-img create: Detect options specified more than once

2014-02-19 Thread Kevin Wolf
If you specified multiple -o options for qemu-img create, it would silently ignore all but the last one. Similarly, for other options the last occurence wins (which is at least a bit less surprising). Error out instead. The only exception is a -o help option, which may be added to any valid qemu-i