[libvirt] [PATCH 7/8] Fix up inconsistent virsh option error reporting.
Matthias Bolte
matthias.bolte at googlemail.com
Sat Jul 17 16:08:03 UTC 2010
2010/7/8 Chris Lalancette <clalance at redhat.com>:
> The virsh option error reporting was not being used
> consistently; some commands would spit out errors on
> missing required options while others would just silently fail.
> However, vshCommandOptString knows which ones are required
> and which ones aren't, so make it spit out an error where
> appropriate. The rest of the patch is just cleaning up
> the uses of vshCommandOptString to deal with the new error
> reporting.
>
> Signed-off-by: Chris Lalancette <clalance at redhat.com>
> ---
> tools/virsh.c | 66 ++++++++++++++++++++------------------------------------
> 1 files changed, 24 insertions(+), 42 deletions(-)
>
ACK.
Matthias
More information about the libvir-list
mailing list