Re: [libvirt] [PATCH 1/3] virsh: Improve error message on integer value parsing failure.

2015-05-21 Thread Andrea Bolognani
On Mon, 2015-05-18 at 11:17 +0200, Michal Privoznik wrote: I wonder if we can make all vshCommandOpt*() throw an error now that we have a generic error message. I have just posted a patch series that implements your suggestion. Feel free to take a look at it, and thanks for reviewing the

Re: [libvirt] [PATCH 1/3] virsh: Improve error message on integer value parsing failure.

2015-05-18 Thread Michal Privoznik
On 15.05.2015 18:14, Andrea Bolognani wrote: Replace more than 30 ad-hoc error messages with a single, generic one that contains the name of the option being processed and some hints to help the user understand what could have gone wrong. Resolves:

[libvirt] [PATCH 1/3] virsh: Improve error message on integer value parsing failure.

2015-05-15 Thread Andrea Bolognani
Replace more than 30 ad-hoc error messages with a single, generic one that contains the name of the option being processed and some hints to help the user understand what could have gone wrong. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207043 --- tests/vcpupin| 4