From 8127323f145b2de7e1c30bbb7af0d20d783ac76b Mon Sep 17 00:00:00 2001 From: Vairavan Srinivasan Date: Sat, 4 Aug 2012 16:40:50 -0700 Subject: [PATCH] adb: Pick desired product value from command line it follows -p Change-Id: Ic9fb74c99c88479addf3a2cc599b8492ced759d8 --- adb/commandline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adb/commandline.c b/adb/commandline.c index ffc120f8a..a7f681600 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -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) {