add d option to option string