Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65474fd7 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

adb: fix `adb connect` help typo.

Bug: http://b/130380645
Test: adb connect
Change-Id: I04205ff0120bcfd865dc5fa95846694d0ff6de80
parent c940977d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1612,7 +1612,7 @@ int adb_commandline(int argc, const char** argv) {
        return adb_query_command(query);
    }
    else if (!strcmp(argv[0], "connect")) {
        if (argc != 2) error_exit("usage: adb connect HOST[:PORT>]");
        if (argc != 2) error_exit("usage: adb connect HOST[:PORT]");

        std::string query = android::base::StringPrintf("host:connect:%s", argv[1]);
        return adb_query_command(query);