From 0b3baac51217b14be9eacb8865f31be8f6b4bbc3 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Thu, 28 May 2015 12:03:44 +0900 Subject: [PATCH] Document the -g option to adb install. Change-Id: I012165df343c24953f1c1cfcdce379bf1b67c624 --- adb/commandline.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/adb/commandline.cpp b/adb/commandline.cpp index cef5f39ce..909592dcc 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] \n" - " adb install-multiple [-lrtsdp] \n" + " adb install [-lrtsdg] \n" + " adb install-multiple [-lrtsdpg] \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] - 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"