show validation warnings only when generating man pages. see #298