Merge "Rename _complete-android-module-names" am: 5e5cf8e17d am: ca97eaef00

am: 517ba66e64

Change-Id: Iad1e2fda5fb61030d91e013b08b807a16fdb5fca
This commit is contained in:
dimitry 2018-12-11 16:20:05 -08:00 committed by android-build-merger
commit f343d14efd

View file

@ -363,8 +363,8 @@ function addcompletions()
fi
complete -F _lunch lunch
complete -F _complete-android-module-names gomod
complete -F _complete-android-module-names m
complete -F _complete_android_module_names gomod
complete -F _complete_android_module_names m
}
function choosetype()
@ -1535,7 +1535,7 @@ print module_info[module]['path'][0]" 2>/dev/null)
fi
}
function _complete-android-module-names() {
function _complete_android_module_names() {
local word=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $(allmod | grep -E "^$word") )
}