#42 android: Force global options exclusions

This commit is contained in:
Julien Nicoulaud 2011-08-21 11:29:02 +02:00
parent 810b6233fc
commit f9cb32a0de
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ _android() {
# TODO -h takes an optional command name
_arguments -C -A "-*" \
'(- : *)'{-h,--help}'[get help on a specific command]' \
'(-s --silent)'{-v,--verbose}'[verbose mode: errors, warnings and informational messages are printed]' \
'(-v --verbose)'{-s,--silent}'[silent mode: only errors are printed out]' \
'(-s --silent -v --verbose)'{-v,--verbose}'[verbose mode: errors, warnings and informational messages are printed]' \
'(-v --verbose -s --silent)'{-s,--silent}'[silent mode: only errors are printed out]' \
'1: :_android_cmds' \
'*::arg:->args' \
&& ret=0