Skip to content

Commit

Permalink
#40 adb: Extract log tags from 'adb logcat -d'
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoulaj committed Aug 21, 2011
1 parent 9ab770f commit 64c1d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _adb
Expand Up @@ -357,7 +357,8 @@ _adb_logcat_filter_specs() {
)
_describe -t log-priorities 'log priority' priorities "$@" && ret=0
else
_message -e log-tags 'log tag' && ret=0
local tags; tags=(${(u)${${(f)"$(_call_program tags $service $adb_args logcat -d)"}%%[[:space:]]#\(*}##*\/})
_describe -t log-tags 'log tag' tags -qS: "$@" && ret=0
fi
return ret
}
Expand Down

0 comments on commit 64c1d2f

Please sign in to comment.