]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ
authorHao Liu <hliu@redhat.com>
Thu, 11 Dec 2014 02:46:15 +0000 (10:46 +0800)
committerJán Tomko <jtomko@redhat.com>
Mon, 12 Jan 2015 12:38:42 +0000 (13:38 +0100)
commita0670aef37a6e6072082c4b9df99abe86f49d1f3
tree3b75d3bce9505cee58db223740921939aefe6fec
parent906a116586eeac0dd0b34f5ec89d2f6b3ff8c217
virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ

Commit 6b9964 enforces checking invalid use of VSH_OT_STRING with
VSH_OFLAG_REQ. This commit tries to do the same thing to stop using
VSH_OT_DATA without VSH_OFLAG_REQ and also fix existing misuse.

Signed-off-by: Hao Liu <hliu@redhat.com>
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-network.c
tools/virsh-pool.c
tools/virsh-snapshot.c
tools/virsh.c