Skip to content

Commit

Permalink
show the help if there are no input files (jsdoc#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwi committed Apr 10, 2014
1 parent b7782fc commit abe3fe2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ cli.main = function(cb) {
.parseFiles()
.processParseResults();
}
else {
console.log('There are no input files to process.\n');
cli.printHelp(cb);
}

env.run.finish = new Date();
cb(0);
Expand Down

0 comments on commit abe3fe2

Please sign in to comment.