summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-06-01 16:02:50 -0700
committerMark Salyzyn <salyzyn@google.com>2015-06-01 23:59:20 +0000
commit23d84074652b77385431fc0d1505b7d43b7dba9e (patch)
treeb9e1acbb5f5bcb795831aa654d90d2312bbdcc39 /adb
parent42ac34f7401f70c3f19ef176df7e1bc2f47396a0 (diff)
downloadsystem_core-23d84074652b77385431fc0d1505b7d43b7dba9e.zip
system_core-23d84074652b77385431fc0d1505b7d43b7dba9e.tar.gz
system_core-23d84074652b77385431fc0d1505b7d43b7dba9e.tar.bz2
Improve adb install help.
Bug: 21365060 Change-Id: I0a4ea5cf3a2f37a82161b30f7eec5781d175aa8f
Diffstat (limited to 'adb')
-rw-r--r--adb/commandline.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index 909592d..fd9953c 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] <file>\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] <file...>\n"
" - push this package file to the device and install it\n"
" (-l: forward lock application)\n"