vsh: Tweak error message for scaled integers

It was too similar to the non-scaled alternative.

before:
error: Numeric value 'abc' for <size> option is malformed or out of range
after:
error: Scaled numeric value 'abc' for <size> option is malformed or out of range
This commit is contained in:
Peter Krempa committed 2016-03-29 15:28:46 +02:00
1 parent 0c8e3b2234
commit b2c9d77b4e
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1147,8 +1147,8 @@ vshCommandOptScaledInt(vshControl *ctl, const vshCmd *cmd,
virScaleInteger(value, end, scale, max) < 0)
{
vshError(ctl,
_("Numeric value '%s' for <%s> option is malformed or out of range"),
arg->data, name);
_("Scaled numeric value '%s' for <%s> option is malformed or "
"out of range"), arg->data, name);
ret = -1;
} else {
ret = 1;