提交 8fcc76a6 编写于 作者: O Osier Yang

virsh: replace vshPrint with vshPrintExtra for snapshot list

Otherwise extra information will be printed even if "--quiet"
is specified.

* tools/virsh.c
上级 606d6305
......@@ -10000,8 +10000,8 @@ cmdSnapshotList(vshControl *ctl, const vshCmd *cmd)
if (numsnaps < 0)
goto cleanup;
vshPrint(ctl, " %-20s %-25s %s\n", _("Name"), _("Creation Time"), _("State"));
vshPrint(ctl, "---------------------------------------------------\n");
vshPrintExtra(ctl, " %-20s %-25s %s\n", _("Name"), _("Creation Time"), _("State"));
vshPrintExtra(ctl, "---------------------------------------------------\n");
if (numsnaps) {
if (VIR_ALLOC_N(names, numsnaps) < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册