summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-20 14:51:53 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-20 14:51:53 -0700
commita8b832a89713dea6d1a82cfc8ecfa624c4fc5783 (patch)
tree836e220514b6456c1804b9c68d5e1e0aa12d07ed
parent2ab69388cb4e26855cc7a9f3584935b927a3659e (diff)
parent42900c30cf39ea4cdc41cc3671584b7f4f39b8bc (diff)
downloadsystem_core-a8b832a89713dea6d1a82cfc8ecfa624c4fc5783.zip
system_core-a8b832a89713dea6d1a82cfc8ecfa624c4fc5783.tar.gz
system_core-a8b832a89713dea6d1a82cfc8ecfa624c4fc5783.tar.bz2
am 42900c30: am 0874aa0e: Merge "adb: Pick desired product value from command line it follows -p"
* commit '42900c30cf39ea4cdc41cc3671584b7f4f39b8bc': adb: Pick desired product value from command line it follows -p
-rw-r--r--adb/commandline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index 10b2332..24cbb5a 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -965,7 +965,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) {