[libvirt] [PATCH v2 2/3] virsh: qemu-monitor-command: Don't print extra newline with --pretty

Ján Tomko jtomko at redhat.com
Tue Aug 2 14:05:10 UTC 2016


On Mon, Aug 01, 2016 at 01:34:56PM +0200, Peter Krempa wrote:
>The prettified JSON string already contains a newline so don't print
>another one. This allows to pipe the json output (in conjunction with
>the --quiet option) to files without having to truncate them afterwards.
>---
> tools/virsh-domain.c | 1 +
> 1 file changed, 1 insertion(+)
>

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160802/bac77ee2/attachment-0001.sig>


More information about the libvir-list mailing list