From 706391ad62348a97eea42bf8d55f995819a65cad Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sun, 21 Aug 2011 11:30:45 +0200 Subject: [PATCH] #42 android: -h takes an optional command name --- _android | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_android b/_android index 1bdf5c0..fbd6c93 100644 --- a/_android +++ b/_android @@ -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' \