Commit d1b8d5cb authored by slamm@chromium.org's avatar slamm@chromium.org

When multiple devices are attached, give possible device options.

BUG=

Review URL: https://codereview.chromium.org/138443003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245252 0039d316-1c4b-4281-b951-d872f2087c98
parent 4c5fec0a
...@@ -177,8 +177,9 @@ def FindAllAvailableBrowsers(finder_options, logging=real_logging): ...@@ -177,8 +177,9 @@ def FindAllAvailableBrowsers(finder_options, logging=real_logging):
return [] return []
if len(devices) > 1: if len(devices) > 1:
logging.warn('Multiple devices attached. ' + logging.warn(
'Please specify a device explicitly.') 'Multiple devices attached. Please specify one of the following:\n' +
'\n'.join([' --device=%s' % d for d in devices]))
return [] return []
device = devices[0] device = devices[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment