summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-05-28 12:03:44 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-05-28 12:03:44 +0900
commit0b3baac51217b14be9eacb8865f31be8f6b4bbc3 (patch)
tree61d8870d26194fa8fd31d8d5dd2118def81ceb83 /adb
parent4b7ddd6105c44b01b473c5ed1035b6be34ba19e2 (diff)
downloadsystem_core-0b3baac51217b14be9eacb8865f31be8f6b4bbc3.zip
system_core-0b3baac51217b14be9eacb8865f31be8f6b4bbc3.tar.gz
system_core-0b3baac51217b14be9eacb8865f31be8f6b4bbc3.tar.bz2
Document the -g option to adb install.
Change-Id: I012165df343c24953f1c1cfcdce379bf1b67c624
Diffstat (limited to 'adb')
-rw-r--r--adb/commandline.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index cef5f39..909592d 100644
--- a/adb/commandline.cpp
+++ b/adb/commandline.cpp
@@ -145,8 +145,8 @@ static void help() {
" - remove a specific reversed socket connection\n"
" 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 [-lrtsd] <file>\n"
- " adb install-multiple [-lrtsdp] <file...>\n"
+ " adb install [-lrtsdg] <file>\n"
+ " adb install-multiple [-lrtsdpg] <file...>\n"
" - push this package file to the device and install it\n"
" (-l: forward lock application)\n"
" (-r: replace existing application)\n"
@@ -154,6 +154,7 @@ static void help() {
" (-s: install application on sdcard)\n"
" (-d: allow version code downgrade)\n"
" (-p: partial application install)\n"
+ " (-g: grant all runtime permissions)\n"
" adb uninstall [-k] <package> - remove this app package from the device\n"
" ('-k' means keep the data and cache directories)\n"
" adb bugreport - return all information from the device\n"