On 02/06/2013 04:43 AM, Kevin Wolf wrote:
> 
> Instead of getting a longer and longer output line for each new number
> we add, maybe we could use the chance to introduce multiline output:
> 
> Total number of clusters:   1000
> - allocated                  427 (42.7%)
> - fragmented                  71 (7.1%)
> - compressed                 120 (12.0%)

That's a bit nicer for scraping the output, but the ultimate niceness
would be providing an --output=json representation, where the JSON
objects are only output when present.

> 
> Or something like that. And if a line doesn't apply to the given image
> (format), it's just left out.
> 
> Kevin
> 
> 
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to