[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 2/4] qemu-img: Add "Quiet mode" option
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v8 2/4] qemu-img: Add "Quiet mode" option |
Date: |
Mon, 14 Jan 2013 16:01:36 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 01/14/2013 03:26 AM, Miroslav Rezanina wrote:
> There can be a need to turn output to stdout off. This patch adds a -q option
> that enable "Quiet mode". In Quiet mode, only errors are printed out.
>
> Signed-off-by: Miroslav Rezanina <address@hidden>
> ---
> if (result.corruptions_fixed || result.leaks_fixed) {
> - printf("The following inconsistencies were found and repaired:\n\n"
> + qprintf(quiet,
> + "The following inconsistencies were found and repaired:\n\n"
> " %d leaked clusters\n"
> " %d corruptions\n\n"
Here, and in other multi-line conversions, you failed to reindent the
subsequent lines, so indentation is now off.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature