set-lcommands flashall getvar oem flashing reboot update erase format devices flash get_staged help stage boot fetch
function__fish_fastboot_list_partition_or_file
if __fish_seen_subcommand_from (__fish_fastboot_list_partition){_a,_b,}
__fish_complete_path
else
__fish_fastboot_list_partition
end
end
function__fish_fastboot_list_partition
set-lpartitions boot bootloader dtbo modem odm odm_dlkm oem product pvmfw radio recovery system vbmeta vendor vendor_dlkm cache userdata system_ext
foriin$partitions
echo$i
end
end
complete-c fastboot -s h -lhelp-d'Show this message'
complete-c fastboot -s v -l verbose -d'Verbose output'
complete-c fastboot -l version -d'Display version'
complete-n"not __fish_seen_subcommand_from $commands"-c fastboot -s w -d'Wipe userdata'
complete-n"not __fish_seen_subcommand_from $commands"-c fastboot -s s -d'Specify a device'
complete-n"not __fish_seen_subcommand_from $commands"-c fastboot -s S -d'Break into sparse files no larger than SIZE'
complete-n"not __fish_seen_subcommand_from $commands"-c fastboot -l slot -d'Use SLOT; \'all\' for both slots, \'other\' for non-current slot (default: current active slot)' -xa"all other a b"
complete-n"not __fish_seen_subcommand_from $commands"-c fastboot -l set-active -d'Sets the active slot before rebooting'-xa"a b"
complete-f-n"not __fish_seen_subcommand_from $commands"-c fastboot -a flashall -d'Flash all partitions from $ANDROID_PRODUCT_OUT'
complete-f-n"not __fish_seen_subcommand_from $commands"-c fastboot -a getvar -d'Display given bootloader variable'
complete-f-n"not __fish_seen_subcommand_from $commands"-c fastboot -a oem -d'Execute OEM-specific command'