add arguments for dependencies

This commit is contained in:
Mario Fernandez 2011-08-03 22:29:47 +02:00
parent a0f3e1dccc
commit 91195d93d0
1 changed files with 9 additions and 0 deletions

9
_play
View File

@ -66,6 +66,15 @@ _play() {
'(--deps)--deps[Resolve and install dependencies before running the command]' \
&& ret=0
;;
(dependencies|deps)
_arguments \
'1:: :_play_apps' \
'(--debug)--debug[Debug mode (even more informations logged than in verbose mode)]' \
'(--jpda)--jpda[Listen for JPDA connection. The process will suspended until a client is plugged to the JPDA port.]' \
'(--sync)--sync[Keep lib/ and modules/ directory synced. Delete unknow dependencies.]' \
'(--verbose)--verbose[Verbose Mode]' \
&& ret=0
;;
(clean|javadoc|jd|out|pid|secret|stop)
_arguments '1:: :_play_apps' && ret=0
;;