def METHOD_NAME(self):
    if isinstance(self.fastboot, (AndroidUSBFastboot, RemoteAndroidUSBFastboot)):
        option = f"usb:{self.fastboot.path}"
    else:
        option = f"{self.fastboot.protocol}:{self.fastboot.address}:{self.fastboot.port}"
    prefix = self.fastboot.command_prefix + [ self.tool, "-s", option ]
    if self.sparse_size is not None:
        prefix += ["-S", self.sparse_size]
    return prefix