summaryrefslogtreecommitdiffstats
path: root/adb/client/commandline.cpp
diff options
context:
space:
mode:
authorTim Baverstock <tim.baverstock@corp.badoo.com>2019-02-08 16:27:16 +0000
committerTim Baverstock <tim.baverstock@corp.badoo.com>2019-03-07 12:28:31 +0000
commit25173c808a25ebe30f40b2337d8c87e2ea03e9e1 (patch)
treee3c98acbeb007862f8da60d34051bea35edbee4a /adb/client/commandline.cpp
parent4275d9b887f79ed1dbbd55bf72f79b81cf4f37b2 (diff)
downloadsystem_core-25173c808a25ebe30f40b2337d8c87e2ea03e9e1.tar.gz
system_core-25173c808a25ebe30f40b2337d8c87e2ea03e9e1.tar.bz2
system_core-25173c808a25ebe30f40b2337d8c87e2ea03e9e1.zip
Restrict scanning port range, not emulator count
Our servers can comfortably run more than 16 emulators, and this is much easier than messing with hypervisors or docker port allocation. Assumes you know how to avoid clashes with Google Wear's default port. Test: manual - still registers emulators. Change-Id: I47cfd28725a550de0bd77fd11fcd94cdd11d2cc2
Diffstat (limited to 'adb/client/commandline.cpp')
-rw-r--r--adb/client/commandline.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp
index f70b48009..3cb10ba77 100644
--- a/adb/client/commandline.cpp
+++ b/adb/client/commandline.cpp
@@ -222,7 +222,9 @@ static void help() {
" all,adb,sockets,packets,rwx,usb,sync,sysdeps,transport,jdwp\n"
" $ADB_VENDOR_KEYS colon-separated list of keys (files or directories)\n"
" $ANDROID_SERIAL serial number to connect to (see -s)\n"
- " $ANDROID_LOG_TAGS tags to be used by logcat (see logcat --help)\n");
+ " $ANDROID_LOG_TAGS tags to be used by logcat (see logcat --help)\n"
+ " $ADB_LOCAL_TRANSPORT_MAX_PORT max emulator scan port (default 5585, 16 emus)\n"
+ );
// clang-format on
}