adb: Pick desired product value from command line it follows -p

Change-Id: Ic9fb74c99c88479addf3a2cc599b8492ced759d8
This commit is contained in:
Vairavan Srinivasan 2012-08-04 16:40:50 -07:00
parent 4b91e3328c
commit 8127323f14
1 changed files with 1 additions and 1 deletions

View File

@ -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) {