add fastboot oem subcommand completions

This commit is contained in:
NextAlone 2022-09-19 13:07:08 +08:00 committed by Fabian Boehm
parent 9ec2e42e0e
commit 404cee579b

View file

@ -69,4 +69,8 @@ complete -n '__fish_seen_subcommand_from erase' -c fastboot -f -a "(__fish_fastb
complete -n '__fish_seen_subcommand_from flashing' -c fastboot -f -a "lock unlock lock_critical unlock_critical get_unlock_ability"
# reboot
complete -n '__fish_seen_subcommand_from reboot' -c fastboot -xa 'bootloader fastboot edl'
complete -n '__fish_seen_subcommand_from reboot' -c fastboot -xa 'bootloader fastboot'
# oem
complete -n '__fish_seen_subcommand_from oem' -c fastboot -xa 'device-info lock unlock edl'