From 2f83ab4aeefae2e54ae9657a8ea2f0f4e86abb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Wed, 4 Feb 2015 12:30:32 +0200 Subject: [PATCH] Comments, and help fix --- bin/git-stats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/git-stats b/bin/git-stats index 41b9836..223fb9e 100755 --- a/bin/git-stats +++ b/bin/git-stats @@ -8,9 +8,11 @@ var GitStats = require("../lib") , Logger = require("bug-killer") ; +// Configure logger Logger.config.displayDate = false; Logger.config.logLevel = 4; +// Constants const THEMES = { DARK: { background: "#11181F" @@ -50,7 +52,7 @@ switch (process.argv[2]) { }); break; case "--help": - console.log(Fs.readFileSync("./docs/help", "utf-8")); + console.log(Fs.readFileSync(__dirname + "/docs/help", "utf-8")); break; case "-v": console.log(require("../package.json").version);