Add newer partitions to the `fastboot flash` completions.

Bug: N/A
Test: `fastboot flash \t`
Change-Id: I1f33c90b8c26b18b9984102ac084b8865d72ff06
This commit is contained in:
Elliott Hughes 2018-04-04 13:51:24 -07:00
parent b2b90154a8
commit f0b9c7ccd2
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'