Skip to content

Commit

Permalink
fix bug where adr-log would always show help
Browse files Browse the repository at this point in the history
  • Loading branch information
TStadelmaier committed Oct 22, 2017
1 parent 444d29e commit 7870b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <directory>] [-f <file>]',
'',
Expand Down

0 comments on commit 7870b04

Please sign in to comment.