af4ffe56eae27c85ed472307554fd7347966d316

Author
Luca Stefani <luca.stefani.ge1@gmail.com>
Committer
ncanceill <nicolas.canceill@ens-cachan.org>
Date

Message

adb: add more commands

Diff

 1diff --git a/plugins/adb/_adb b/plugins/adb/_adb
 2index 22089581a98f5f292dc21cac91c62e6d5108abab..f30f3247f1ecbb884b260f83e6507e94fcab7203 100644
 3--- a/plugins/adb/_adb
 4+++ b/plugins/adb/_adb
 5@@ -16,14 +16,22 @@ _1st_arguments=(
 6 'help:show the help message'
 7 'install:push this package file to the device and install it'
 8 'jdwp:list PIDs of processes hosting a JDWP transport'
 9-'logcat:View device log'
10+'kill-server:kill the server if it is running'
11+'logcat:view device log'
12 'pull:copy file/dir from device'
13 'push:copy file/dir to device'
14+'reboot:reboots the device, optionally into the bootloader or recovery program'
15+'reboot-bootloader:reboots the device into the bootloader'
16+'remount:remounts the partitions on the device read-write'
17+'root:restarts the adbd daemon with root permissions'
18+'sideload:push a ZIP to device and install it'
19 'shell:run remote shell interactively'
20 'sync:copy host->device only if changed (-l means list but dont copy)'
21-‘tcpip:restart host adb in tcpip mode’
22+'start-server:ensure that there is a server running'
23+'tcpip:restart host adb in tcpip mode'
24 'uninstall:remove this app package from the device'
25 'version:show version num'
26+'wait-for-device:block until device is online'
27 )
28 
29 local expl