summaryrefslogtreecommitdiff
path: root/plugins/adb/_adb
diff options
context:
space:
mode:
authorTobias Preuss <tobias.preuss@googlemail.com>2017-06-07 23:47:47 +0200
committerRobby Russell <robby@planetargon.com>2017-06-07 14:47:47 -0700
commit1c958e02a5613a4312534b1afe9f9f8c4a0793c2 (patch)
tree9a70c663622d6a42bfb1c3f823cc6718bf9de429 /plugins/adb/_adb
parent291e96dcd034750fbe7473482508c08833b168e3 (diff)
downloadzsh-1c958e02a5613a4312534b1afe9f9f8c4a0793c2.tar.gz
zsh-1c958e02a5613a4312534b1afe9f9f8c4a0793c2.tar.bz2
zsh-1c958e02a5613a4312534b1afe9f9f8c4a0793c2.zip
Extend list of adb commands. (#5584)
Diffstat (limited to 'plugins/adb/_adb')
-rw-r--r--plugins/adb/_adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/adb/_adb b/plugins/adb/_adb
index f30f3247f..5f37bedac 100644
--- a/plugins/adb/_adb
+++ b/plugins/adb/_adb
@@ -13,9 +13,13 @@ _1st_arguments=(
'disconnect:disconnect from a TCP/IP device. Port 5555 is default.'
'emu:run emulator console command'
'forward:forward socket connections'
+'get-devpath:print the device path'
+'get-serialno:print the serial number of the device'
+'get-state:print the current state of the device: offline | bootloader | device'
'help:show the help message'
'install:push this package file to the device and install it'
'jdwp:list PIDs of processes hosting a JDWP transport'
+'keygen:generate adb public/private key'
'kill-server:kill the server if it is running'
'logcat:view device log'
'pull:copy file/dir from device'
@@ -30,6 +34,7 @@ _1st_arguments=(
'start-server:ensure that there is a server running'
'tcpip:restart host adb in tcpip mode'
'uninstall:remove this app package from the device'
+'usb:restart the adbd daemon listing on USB'
'version:show version num'
'wait-for-device:block until device is online'
)