]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Fix *-event error string
authorChristophe Fergeau <cfergeau@redhat.com>
Tue, 6 Sep 2016 11:14:34 +0000 (13:14 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Thu, 8 Sep 2016 07:54:12 +0000 (09:54 +0200)
commit184654117eac112e7004eff0f0f7eaf055edea75
treecbc55a33c6054b592276dc9320a8805ad06ddcaf
parentfe94ee5db5461970743f52a85fc295af023f50bf
virsh: Fix *-event error string

When using
virsh net-event non-existing-net
the error message says that 'either --list or event type is required'
This is misleading as 'virsh net-event $valid-event-type' is not going
to work either. What is expected is 'virsh net-event --event
$valid-event-type'

This commit fixes the string in pool-event, nodedev-event, event, and
net-event.
tools/virsh-domain.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-pool.c