Fix broken reference to the dest option

I noticed that the output logging seemed to be broken and on debugging I found that the reference to the dest option was incorrect.