提交 58c73c17 编写于 作者: C Cole Robinson

virsh: Use consistent spacing for net-list

There is different spacing when listing active vs. inactive networks. Ex:

Name                 State      Autostart
-----------------------------------------
default              active     yes
xxxxxx               inactive no
上级 525c3d40
Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/virsh.c : virsh: Use consistent spacing for net-list
Fri May 29 15:29:32 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/qemu_conf.c docs/schemas/domain.rng
......
......@@ -2798,7 +2798,7 @@ cmdNetworkList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
else
autostartStr = autostart ? "yes" : "no";
vshPrint(ctl, "%-20s %s %s\n",
vshPrint(ctl, "%-20s %-10s %-10s\n",
inactiveNames[i],
_("inactive"),
autostartStr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册