Hi Philip,

Philip Guenther wrote on Sat, Mar 05, 2016 at 09:35:58PM -0800:

> Side note: best practice is to run "mandoc -Tlint -Wwarning"
> on manpages after making changes.

True.

In case you are still training your finger memory, just

  mandoc -Tlint

is enough, it already implies -Wall == -Wwarning.  The intention
of -Tlint is "test everything that can reasonably be checked", and
should warning levels ever change (no such plans exist at this
time), it will pick up the new ones that make sense to be checked
by default.

You only need an explicit warning level after -Tlint if you
want to skip some checks, for example

  mandoc -Tlint -Werror

when checking whether the manual pages of a port have any serious
markup issues.

Yours,
  Ingo

Reply via email to