From b74099c0521ff6ee27596935e3b1648450c947a5 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 4 Jul 2015 10:29:52 -0700
Subject: [PATCH] Makefile: prettier 'download_stats'.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a2ed18d55..a44085420 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ man/pandoc.1: README man/pandoc.1.template
 
 download_stats:
 	curl https://api.github.com/repos/jgm/pandoc/releases | \
-		jq '[.[] | .assets | .[] | {name: .name, download_count: .download_count}]'
+		jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
 
 clean:
 	cabal clean