Merge "adb: Pick desired product value from command line it follows -p"
This commit is contained in:
commit
0874aa0ec4
1 changed files with 1 additions and 1 deletions
|
|
@ -963,7 +963,7 @@ int adb_commandline(int argc, char **argv)
|
||||||
argc--;
|
argc--;
|
||||||
argv++;
|
argv++;
|
||||||
} else {
|
} else {
|
||||||
product = argv[1] + 2;
|
product = argv[0] + 2;
|
||||||
}
|
}
|
||||||
gProductOutPath = find_product_out_path(product);
|
gProductOutPath = find_product_out_path(product);
|
||||||
if (gProductOutPath == NULL) {
|
if (gProductOutPath == NULL) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue