Merge "Add newer partitions to the `fastboot flash` completions."

This commit is contained in:
Treehugger Robot 2018-04-05 02:24:34 +00:00 committed by Gerrit Code Review
commit 3810f0076b
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ _fastboot_cmd_flash() {
cur="${COMP_WORDS[COMP_CWORD]}"
if [[ $i -eq $COMP_CWORD ]]; then
partitions="boot bootloader dtbo modem radio recovery system vbmeta vendor"
partitions="boot bootloader dtbo modem odm oem product radio recovery system vbmeta vendor"
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
else
_fastboot_util_complete_local_file "${cur}" '!*.img'