]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: Refactor argument checking in cmdBlockCommit
authorPeter Krempa <pkrempa@redhat.com>
Mon, 13 Jul 2015 14:23:59 +0000 (16:23 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Jul 2015 13:32:59 +0000 (15:32 +0200)
commitbd687cf9b9bb9f9de2482150bc2b12c3415e740a
tree0c8d51d0e6cb8a52c698b9677a575eb32ecfbf42
parent5dceea2c95b341c192b9f4940308af3710c309f0
virsh: Refactor argument checking in cmdBlockCommit

Use the VSH_EXCLUSIVE_OPTIONS to exclude combinations of --pivot and
--keep-overlay and refactor the enforcing of the --wait option and other
flags that imply --wait.
tools/virsh-domain.c