move formatNoMatches into opts