mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
Don't add trailing blanks in dominfo output
This commit is contained in:
parent
2168e27738
commit
a9d4944f8e
@ -1,3 +1,7 @@
|
|||||||
|
Thu May 29 10:55:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/virsh.c: Don't add trailing blanks in dominfo output
|
||||||
|
|
||||||
Thu May 29 10:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Thu May 29 10:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* python/libvirt-python-api.xml: Add API overrides for functions
|
* python/libvirt-python-api.xml: Add API overrides for functions
|
||||||
|
@ -1535,7 +1535,7 @@ cmdDominfo(vshControl * ctl, vshCmd * cmd)
|
|||||||
vshPrint(ctl, "%-15s %lu kB\n", _("Max memory:"),
|
vshPrint(ctl, "%-15s %lu kB\n", _("Max memory:"),
|
||||||
info.maxMem);
|
info.maxMem);
|
||||||
else
|
else
|
||||||
vshPrint(ctl, "%-15s %-15s\n", _("Max memory:"),
|
vshPrint(ctl, "%-15s %s\n", _("Max memory:"),
|
||||||
_("no limit"));
|
_("no limit"));
|
||||||
|
|
||||||
vshPrint(ctl, "%-15s %lu kB\n", _("Used memory:"),
|
vshPrint(ctl, "%-15s %lu kB\n", _("Used memory:"),
|
||||||
@ -1546,7 +1546,7 @@ cmdDominfo(vshControl * ctl, vshCmd * cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!virDomainGetAutostart(dom, &autostart)) {
|
if (!virDomainGetAutostart(dom, &autostart)) {
|
||||||
vshPrint(ctl, "%-15s %-15s\n", _("Autostart:"),
|
vshPrint(ctl, "%-15s %s\n", _("Autostart:"),
|
||||||
autostart ? _("enable") : _("disable") );
|
autostart ? _("enable") : _("disable") );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user