]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Improve error message on integer value parsing failure.
authorAndrea Bolognani <abologna@redhat.com>
Fri, 15 May 2015 16:14:39 +0000 (18:14 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 18 May 2015 08:50:06 +0000 (10:50 +0200)
commit449316701b82c77c26f6fca0c28ece6a604ae238
treea7959b51d39361fb8331ff84178912452787ba98
parent8ed0bcfd81c782b467a2b04b92846f3d39403db1
virsh: Improve error message on integer value parsing failure.

Replace more than 30 ad-hoc error messages with a single, generic one
that contains the name of the option being processed and some hints
to help the user understand what could have gone wrong.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207043
tests/vcpupin
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-host.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-volume.c