Re: [Qemu-devel] [PATCH v2 0/3] qemu-img: improve qemu-img getopt error messages

2017-03-17 Thread Max Reitz
On 17.03.2017 11:45, Stefan Hajnoczi wrote: > v2: > * Print short help to avoid obscuring error messages [Max] > > This series improves getopt error messages. Unrecognized global options were > skipped rather than causing qemu-img to exit as expected. Also avoid printing > the full help text be

[Qemu-devel] [PATCH v2 0/3] qemu-img: improve qemu-img getopt error messages

2017-03-17 Thread Stefan Hajnoczi
v2: * Print short help to avoid obscuring error messages [Max] This series improves getopt error messages. Unrecognized global options were skipped rather than causing qemu-img to exit as expected. Also avoid printing the full help text because it obscures the actual error message. Stefan Hajn