mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-05 15:38:39 +08:00
#42 android: -h takes an optional command name
This commit is contained in:
1 parent
f9cb32a0de
commit
706391ad62
1 file changed
+1
-2
@@ -51,9 +51,8 @@ _android() {
|
||||
|
||||
android_cmd="$words[1]"
|
||||
|
||||
# TODO -h takes an optional command name
|
||||
_arguments -C -A "-*" \
|
||||
'(- : *)'{-h,--help}'[get help on a specific command]' \
|
||||
'(- : *)'{-h,--help}'[get help on a specific command]:command:_android_cmds' \
|
||||
'(-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' \
|
||||
|
||||
Reference in new issue
Block a user