CLI: Complain more clearly when output filename is missing

Fixes #1376
This commit is contained in:
Aarni Koskela 2015-09-08 16:44:56 +03:00
parent f23338e5d8
commit 189423b286
1 changed files with 1 additions and 0 deletions

View File

@ -515,6 +515,7 @@ module.exports = function(optimist, argv, convertOptions) {
options.output.filename = path.basename(options.output.filename);
} else {
optimist.showHelp();
console.error("Output filename not configured.");
process.exit(-1);
}
}