Add CdoConfirm and LdoConfirm options

Reducing duplication along the way.
Merge pull request #1 from DanielleSucher/confirm_option

Add CdoConfirm and LdoConfirm options