From 308fa9eaaad7b48f4362bdc301a81699943b2ede Mon Sep 17 00:00:00 2001 From: liam4 Date: Sat, 3 Jun 2017 08:18:32 -0300 Subject: Async option handlers should work under aliases --- src/process-argv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/process-argv.js b/src/process-argv.js index 201f927..a459dfe 100644 --- a/src/process-argv.js +++ b/src/process-argv.js @@ -30,7 +30,7 @@ module.exports = async function processArgv(argv, handlers) { alias: function(optionToRun) { // Runs the given option's handler. - handleOpt(optionToRun) + return handleOpt(optionToRun) } }) } else { -- cgit 1.3.0-6-gf8a5