[libvirt] [PATCH v2] virsh: Change option parsing functions to return tri-state information.

2011-03-07 Thread Michal Privoznik
This is needed to detect situations when optional argument was specified with non-integer value: '--int-opt foo'. To keep functions uniform vshCommandOptString function was also changed, because it returns tri-state value as well. Given result pointer is updated only in case of success. If parsing

Re: [libvirt] [PATCH v2] virsh: Change option parsing functions to return tri-state information.

2011-03-07 Thread Eric Blake
On 03/07/2011 11:46 AM, Michal Privoznik wrote: This is needed to detect situations when optional argument was specified with non-integer value: '--int-opt foo'. To keep functions uniform vshCommandOptString function was also changed, because it returns tri-state value as well. Given result