mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
virsh: Change option parsing functions to return tri-state information
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 fails, result is not updated at all.
This commit is contained in:
parent
dc3d60ecd5
commit
d03f199595
644
tools/virsh.c
644
tools/virsh.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user