diff --git a/src/parse-cli-args.js b/src/parse-cli-args.js index eb6ad6c..8d89f0c 100644 --- a/src/parse-cli-args.js +++ b/src/parse-cli-args.js @@ -5,7 +5,10 @@ import commands from './commands'; const help = { options: null, - execute: yargs.showHelp + execute() { + yargs.showHelp(); + return Promise.resolve(1); + } }; export default function parseCliArgs(argv) {