mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
virsh: replace vshPrint with vshPrintExtra for snapshot list
Otherwise extra information will be printed even if "--quiet" is specified. * tools/virsh.c
This commit is contained in:
parent
606d63054c
commit
8fcc76a6e2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user