Add --detailed-exitcodes arg

@GregSutcliffe thanks, fixed