DRY #quiet_traps
Simplify #validate_and_parse_options