diff options
author | liam4 <towerofnix@gmail.com> | 2017-06-03 08:18:32 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-06-03 08:18:36 -0300 |
commit | 308fa9eaaad7b48f4362bdc301a81699943b2ede (patch) | |
tree | fbda66f9465577bed73582f350c3605edce9fd20 /src | |
parent | c41b0bbb11b06544d696656b9ef441604b6b28c1 (diff) |
Async option handlers should work under aliases
Diffstat (limited to 'src')
-rw-r--r-- | src/process-argv.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |