提交 a9d4944f 编写于 作者: D Daniel P. Berrange

Don't add trailing blanks in dominfo output

上级 2168e277
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
......
......@@ -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") );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册