From da99f398630d2351df97c60dbeda3243aa99d301 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 7 Apr 2019 16:50:04 +0700 Subject: [PATCH] Use long-flag instead of short-flag --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e2bbc05..ff82c09 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ module.exports = async (target, options) => { command = 'open'; if (options.wait) { - cliArguments.push('-W'); + cliArguments.push('--wait-apps'); } if (options.background) {