Am 06.02.2013 14:40, schrieb Eric Blake:
> 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.

Er yes, but this was meant for humans, not for parsers... Don't scrape
output without at least telling us before, or you'll get to keep the pieces.

Kevin

Reply via email to