diff options
author | Vairavan Srinivasan <vairav@codeaurora.org> | 2012-08-04 16:40:50 -0700 |
---|---|---|
committer | Vairavan Srinivasan <vairav@codeaurora.org> | 2012-08-04 16:40:50 -0700 |
commit | 8127323f145b2de7e1c30bbb7af0d20d783ac76b (patch) | |
tree | fddb1a0d39ba0b6e0fa1750d904a2216244aec86 /adb | |
parent | 4b91e3328c79383bcebed982ce536046ea316456 (diff) | |
download | system_core-8127323f145b2de7e1c30bbb7af0d20d783ac76b.zip system_core-8127323f145b2de7e1c30bbb7af0d20d783ac76b.tar.gz system_core-8127323f145b2de7e1c30bbb7af0d20d783ac76b.tar.bz2 |
adb: Pick desired product value from command line it follows -p
Change-Id: Ic9fb74c99c88479addf3a2cc599b8492ced759d8
Diffstat (limited to 'adb')
-rw-r--r-- | adb/commandline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/commandline.c b/adb/commandline.c index ffc120f..a7f6816 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) { |