Implement -q switch.