1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

Don't add trailing blanks in dominfo output

This commit is contained in:
Daniel P. Berrange 2008-05-29 14:56:12 +00:00
parent 2168e27738
commit a9d4944f8e
2 changed files with 6 additions and 2 deletions

View File

@ -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>
* python/libvirt-python-api.xml: Add API overrides for functions

View File

@ -1535,7 +1535,7 @@ cmdDominfo(vshControl * ctl, vshCmd * cmd)
vshPrint(ctl, "%-15s %lu kB\n", _("Max memory:"),
info.maxMem);
else
vshPrint(ctl, "%-15s %-15s\n", _("Max memory:"),
vshPrint(ctl, "%-15s %s\n", _("Max memory:"),
_("no limit"));
vshPrint(ctl, "%-15s %lu kB\n", _("Used memory:"),
@ -1546,7 +1546,7 @@ cmdDominfo(vshControl * ctl, vshCmd * cmd)
}
if (!virDomainGetAutostart(dom, &autostart)) {
vshPrint(ctl, "%-15s %-15s\n", _("Autostart:"),
vshPrint(ctl, "%-15s %s\n", _("Autostart:"),
autostart ? _("enable") : _("disable") );
}