#41 Android emulator: Complete -debug* options
This commit is contained in:
parent
cb0b448e19
commit
9a2bff93a5
|
@ -47,6 +47,7 @@ typeset -A opt_args
|
||||||
local context state line curcontext="$curcontext"
|
local context state line curcontext="$curcontext"
|
||||||
|
|
||||||
_emulator() {
|
_emulator() {
|
||||||
|
|
||||||
# TODO All image options are contextual to -sysdir value
|
# TODO All image options are contextual to -sysdir value
|
||||||
# TODO All skin options are contextual to -skindir value
|
# TODO All skin options are contextual to -skindir value
|
||||||
# TODO snapshot options are mutually exclusive
|
# TODO snapshot options are mutually exclusive
|
||||||
|
@ -55,7 +56,6 @@ _emulator() {
|
||||||
# TODO -logcat: use completer from _adb
|
# TODO -logcat: use completer from _adb
|
||||||
# TODO Complete options with device values
|
# TODO Complete options with device values
|
||||||
# TODO Complete -prop
|
# TODO Complete -prop
|
||||||
# TODO -debug-<tag> / -debug-no-<tag>
|
|
||||||
_arguments \
|
_arguments \
|
||||||
'(- : *)-version[display emulator version number]' \
|
'(- : *)-version[display emulator version number]' \
|
||||||
'(- : *)-help[display help information]' \
|
'(- : *)-help[display help information]' \
|
||||||
|
@ -133,9 +133,7 @@ _emulator() {
|
||||||
'-memcheck[enable memory access checking]:flags' \
|
'-memcheck[enable memory access checking]:flags' \
|
||||||
'-qemu[pass arguments to qemu]:arguments' \
|
'-qemu[pass arguments to qemu]:arguments' \
|
||||||
'-verbose[same as '\''-debug-init'\'']' \
|
'-verbose[same as '\''-debug-init'\'']' \
|
||||||
'-debug[enable/disable debug messages]:tags' \
|
'*'{-debug,-debug-,-debug-no-}'[enable/disable specific debug messages]:tag'
|
||||||
'-debug-<tag>[enable specific debug messages]' \
|
|
||||||
'-debug-no-<tag>[disable specific debug messages]'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_emulator "$@"
|
_emulator "$@"
|
||||||
|
|
Loading…
Reference in New Issue