From 4a9ef5c7a0df53ecd24f4d16851722d77d122953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Mon, 26 Jan 2015 11:28:51 +0200 Subject: [PATCH] Do not output the argv anymore. Show the graph. --- bin/git-stats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/git-stats b/bin/git-stats index d63a5b7..b5ae2b3 100755 --- a/bin/git-stats +++ b/bin/git-stats @@ -5,7 +5,6 @@ var GitStats = require("../lib"); switch (process.argv[2]) { case "--record": var data = process.argv[3].replace(/^\"|\"$/g, ""); - console.log(process.argv); try { data = JSON.parse(data); } catch (e) { @@ -24,7 +23,7 @@ switch (process.argv[2]) { ); break; default: - GitStats.get(function (err, data) { + GitStats.graph({}, function (err, data) { console.log(err || data); }); break;