#40 adb: Complete push and pull commands

This commit is contained in:
Julien Nicoulaud 2011-08-09 14:36:31 +02:00
parent d5eca3a6bf
commit a619c8eef0
1 changed files with 8 additions and 2 deletions

10
_adb
View File

@ -71,10 +71,16 @@ _adb() {
_arguments '1: :_adb_host_colon_ports' && ret=0
;;
(push)
_message '<local> <remote>' && ret=0 # TODO Not implemented
_arguments \
'1:local directory:_files -/' \
'2::remote directory' \
&& ret=0
;;
(pull)
_message '<remote> [<local>]' && ret=0 # TODO Not implemented
_arguments \
'1::remote directory' \
'2:local directory:_files -/' \
&& ret=0
;;
(sync)
_message '[ [-l] <directory> ]' && ret=0 # TODO Not implemented