From 23d84074652b77385431fc0d1505b7d43b7dba9e Mon Sep 17 00:00:00 2001 From: Svetoslav Date: Mon, 1 Jun 2015 16:02:50 -0700 Subject: [PATCH] Improve adb install help. Bug: 21365060 Change-Id: I0a4ea5cf3a2f37a82161b30f7eec5781d175aa8f --- adb/commandline.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/adb/commandline.cpp b/adb/commandline.cpp index 909592dcc..fd9953ca6 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp @@ -146,6 +146,13 @@ static void help() { " adb reverse --remove-all - remove all reversed socket connections from device\n" " adb jdwp - list PIDs of processes hosting a JDWP transport\n" " adb install [-lrtsdg] \n" + " - push this package file to the device and install it\n" + " (-l: forward lock application)\n" + " (-r: replace existing application)\n" + " (-t: allow test packages)\n" + " (-s: install application on sdcard)\n" + " (-d: allow version code downgrade)\n" + " (-g: grant all runtime permissions)\n" " adb install-multiple [-lrtsdpg] \n" " - push this package file to the device and install it\n" " (-l: forward lock application)\n"