adb: first argument of push can be any file

Regular files can be pushed, not only directories.
This commit is contained in:
Vincent Bernat 2015-02-27 13:18:32 +01:00
parent 0280621bc9
commit d2682f69e8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ _adb() {
;; ;;
(push) (push)
_arguments \ _arguments \
'1:local directory:_files -/' \ '1:files:_files' \
'2: :_adb_remote_files -/' \ '2: :_adb_remote_files -/' \
&& ret=0 && ret=0
;; ;;