diff --git a/eask b/eask index bff6eadb..283afdb5 100644 --- a/eask +++ b/eask @@ -5,5 +5,14 @@ const yargs = require("yargs"); yargs .usage("eask [args]") .commandDir("cmds") + .showHelpOnFail(true) + .help( + 'help', + 'Show usage instructions.' + ) + .command({ + command: '*', + handler() { yargs.showHelp(); console.log('\n'); } + }) .demandCommand() .help().argv;