On Wed, Apr 30, 2014 at 10:16 AM, Eric Blake wrote:
> Additional patches:
> https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg04074.html
> https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg04468.html
> both already on the queue for the next PULL request of the block branch.
Excellen
On 04/30/2014 08:12 AM, Mike Day wrote:
> On Sun, Apr 27, 2014 at 9:55 PM, Fam Zheng wrote:
/* not found */
-help();
-return 0;
+error_exit("Command not found: %s", cmdname);
>>>
>>> Looks like we just relied previously on the default 'not found' case
>>> for h
On Sun, Apr 27, 2014 at 9:55 PM, Fam Zheng wrote:
>> > /* not found */
>> > -help();
>> > -return 0;
>> > +error_exit("Command not found: %s", cmdname);
>>
>> Looks like we just relied previously on the default 'not found' case
>> for help() to provide the "--help" option.
>>
>
>
On Fri, 04/25 14:18, Jeff Cody wrote:
> On Wed, Apr 23, 2014 at 12:04:49PM +0200, Kevin Wolf wrote:
> > From: Fam Zheng
> >
> > Previously, when there is a user error in argv parsing, qemu-img prints
> > help text and exits.
> >
> > Add an error_exit function to print a helpful error message and
Jeff Cody writes:
> On Wed, Apr 23, 2014 at 12:04:49PM +0200, Kevin Wolf wrote:
>> From: Fam Zheng
>>
>> Previously, when there is a user error in argv parsing, qemu-img prints
>> help text and exits.
>>
>> Add an error_exit function to print a helpful error message and a hint
>> to run 'qemu-
On Wed, Apr 23, 2014 at 12:04:49PM +0200, Kevin Wolf wrote:
> From: Fam Zheng
>
> Previously, when there is a user error in argv parsing, qemu-img prints
> help text and exits.
>
> Add an error_exit function to print a helpful error message and a hint
> to run 'qemu-img --help' for more informat
From: Fam Zheng
Previously, when there is a user error in argv parsing, qemu-img prints
help text and exits.
Add an error_exit function to print a helpful error message and a hint
to run 'qemu-img --help' for more information.
As a bonus, "qemu-img --help" now has a more reasonable exit code
0