mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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:
1 parent
0c8e3b2234
commit
b2c9d77b4e
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user