#40 adb: Extract log tags from 'adb logcat -d'
This commit is contained in:
parent
9ab770f7fc
commit
64c1d2f026
3
_adb
3
_adb
|
@ -357,7 +357,8 @@ _adb_logcat_filter_specs() {
|
||||||
)
|
)
|
||||||
_describe -t log-priorities 'log priority' priorities "$@" && ret=0
|
_describe -t log-priorities 'log priority' priorities "$@" && ret=0
|
||||||
else
|
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
|
fi
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue