#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"
|
||||
|
||||
_emulator() {
|
||||
|
||||
# TODO All image options are contextual to -sysdir value
|
||||
# TODO All skin options are contextual to -skindir value
|
||||
# TODO snapshot options are mutually exclusive
|
||||
|
@ -55,7 +56,6 @@ _emulator() {
|
|||
# TODO -logcat: use completer from _adb
|
||||
# TODO Complete options with device values
|
||||
# TODO Complete -prop
|
||||
# TODO -debug-<tag> / -debug-no-<tag>
|
||||
_arguments \
|
||||
'(- : *)-version[display emulator version number]' \
|
||||
'(- : *)-help[display help information]' \
|
||||
|
@ -133,9 +133,7 @@ _emulator() {
|
|||
'-memcheck[enable memory access checking]:flags' \
|
||||
'-qemu[pass arguments to qemu]:arguments' \
|
||||
'-verbose[same as '\''-debug-init'\'']' \
|
||||
'-debug[enable/disable debug messages]:tags' \
|
||||
'-debug-<tag>[enable specific debug messages]' \
|
||||
'-debug-no-<tag>[disable specific debug messages]'
|
||||
'*'{-debug,-debug-,-debug-no-}'[enable/disable specific debug messages]:tag'
|
||||
}
|
||||
|
||||
_emulator "$@"
|
||||
|
|
Loading…
Reference in New Issue