From 7870b0463076590a056499735ff525a6dd85a917 Mon Sep 17 00:00:00 2001 From: Tino Stadelmaier Date: Sun, 22 Oct 2017 13:42:33 +0200 Subject: [PATCH] fix bug where adr-log would always show help --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 5653cdd..6375a7e 100755 --- a/cli.js +++ b/cli.js @@ -17,7 +17,7 @@ var args = utils.minimist(process.argv.slice(2), { }); -if (!args.d || !args.f || args.h) { +if (!args.d && !args.f && !args.i || args.h) { console.error([ 'Usage: adr-toc [-i] [-d ] [-f ]', '',