Use options of the adapter.

Signed-off-by: François de Metz <francois@stormz.me>