summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFam Zheng2013-08-20 04:58:21 +0200
committerLuiz Capitulino2013-08-20 17:52:00 +0200
commit277acfe8b38de35be8cb6e274678b5a7919c2d44 (patch)
tree9577722ae1bb0ecd9547c95f654b2a0e9a3f548d /scripts
parentOptsVisitor: introduce unit tests, with test cases for range flattening (diff)
downloadqemu-277acfe8b38de35be8cb6e274678b5a7919c2d44.tar.gz
qemu-277acfe8b38de35be8cb6e274678b5a7919c2d44.tar.xz
qemu-277acfe8b38de35be8cb6e274678b5a7919c2d44.zip
monitor: print the invalid char in error message
It's more friendly to print which char is invalid to user, especially when user tries to input a float value and expect the monitor to round it to int. Since we don't round float number when we look for a integer, telling which char is invalid is less confusing. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions