adb wait-for-device 和 adb wait-for-devices 之间有什么区别吗?

Is there any difference between adb wait-for-device and adb wait-for-devices?

我使用了两个命令来等待设备出现: adb 等待设备和 adb 等待设备。 两者似乎都在等待设备启动,我发现它们的行为没有任何区别。他们的行为有什么不同吗?

添加更多关于我所做的信息:

所以这就是我所做的,从 android 文档中我使用了 adb wait-for-device 但是有时在使用这个命令时我将它用作 adb wait-for-devices,正如你所看到的我添加了一个额外的 's' 最后,但命令仍然有效。所以我在想为什么等待设备和等待设备都有效!为什么 android 会提供两个相同的命令?

这是adb处理命令的方式:

 /* handle wait-for-* prefix */
if (!strncmp(argv[0], "wait-for-", strlen("wait-for-"))) {
    const char* service = argv[0];
    if (!strncmp(service, "wait-for-device", strlen("wait-for-device"))) {
        if (ttype == kTransportUsb) {
            service = "wait-for-usb";
        } else if (ttype == kTransportLocal) {
            service = "wait-for-local";
        } else {
            service = "wait-for-any";
        }
    }

所以任何以 wait-for-device 开头的字符串都具有相同的效果