]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix up inconsistent virsh option error reporting.
authorChris Lalancette <clalance@redhat.com>
Thu, 17 Jun 2010 18:58:55 +0000 (14:58 -0400)
committerChris Lalancette <clalance@redhat.com>
Mon, 19 Jul 2010 18:51:00 +0000 (14:51 -0400)
commit0cdff7b5e7957e389e1a745abd79fe6c1b331bd4
tree7d54ef28059cf2de8fdea869b84486ccc195d620
parent187da82fea598aa017bdfc82a1622f9c8d75ee74
Fix up inconsistent virsh option error reporting.

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@redhat.com>
tools/virsh.c