From b08518c452e3e89a29fae924c6efae2a4539c1e7 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Tue, 16 Sep 2014 17:16:23 +0900 Subject: [PATCH] Use correct minitouch help argument. --- lib/units/device/resources/minitouch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/units/device/resources/minitouch.js b/lib/units/device/resources/minitouch.js index f847af47..2c960664 100644 --- a/lib/units/device/resources/minitouch.js +++ b/lib/units/device/resources/minitouch.js @@ -48,7 +48,7 @@ module.exports = syrup.serial() } function ensureNotBusy(res) { - return adb.shell(options.serial, [res.dest, '--help']) + return adb.shell(options.serial, [res.dest, '-h']) .timeout(10000) .then(function(out) { // Can be "Text is busy", "text busy"