add --deps argument

This commit is contained in:
Mario Fernandez 2011-08-03 22:26:06 +02:00
parent 27f042fc70
commit a0f3e1dccc
1 changed files with 7 additions and 1 deletions

8
_play
View File

@ -60,7 +60,13 @@ _play() {
(build-module|list-modules|lm|check|id)
_message 'no more arguments' && ret=0
;;
(auto-test|classpath|cp|clean|eclipsify|ec|idealize|idea|javadoc|jd|modules|netbeansify|nb|out|pid|secret|stop)
(auto-test|classpath|cp|eclipsify|ec|idealize|idea|modules|netbeansify|nb)
_arguments \
'1:: :_play_apps' \
'(--deps)--deps[Resolve and install dependencies before running the command]' \
&& ret=0
;;
(clean|javadoc|jd|out|pid|secret|stop)
_arguments '1:: :_play_apps' && ret=0
;;
(help)