On 21.03.2017 23:15, Kashyap Chamarthy wrote: > On Fri, Mar 17, 2017 at 06:45:41PM +0800, Stefan Hajnoczi wrote: >> Printing the full help output obscures the error message for an invalid >> command-line option or missing argument. >> >> Before this patch: >> >> $ ./qemu-img --foo >> ...pages of output... > > That gives me: > > $ qemu-img --foo > qemu-img: unrecognized option '--foo'
Yes, before this series. But not before this patch (i.e. after the first two patches of this series). Max > > I think you meant any one of the `qemu-img create|convert|... --foo`: > > $ qemu-img create --foo > [...] > > Which _does_ give "pages of output". > > Just noting if you want to tweak the commit message. > >> After this patch: >> >> $ ./qemu-img --foo >> qemu-img: unrecognized option '--foo' >> Try 'qemu-img --help' for more information >> > > [...] >
signature.asc
Description: OpenPGP digital signature