adb: Pick desired product value from command line it follows -p
Change-Id: Ic9fb74c99c88479addf3a2cc599b8492ced759d8
This commit is contained in:
parent
4b91e3328c
commit
8127323f14
|
@ -878,7 +878,7 @@ int adb_commandline(int argc, char **argv)
|
|||
argc--;
|
||||
argv++;
|
||||
} else {
|
||||
product = argv[1] + 2;
|
||||
product = argv[0] + 2;
|
||||
}
|
||||
gProductOutPath = find_product_out_path(product);
|
||||
if (gProductOutPath == NULL) {
|
||||
|
|
Loading…
Reference in New Issue