mandoc -Tlint recv.2 suggested to remove the Tn macro.
Details
Details
- Reviewers
kevans sevan - Group Reviewers
manpages Doc Committers - Commits
- rS333937: Fix a typo and remove an unneeded Tn macro as highlighted by mandoc -Tlint.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
libc/sys/recv.2 | ||
---|---|---|
299 ↗ | (On Diff #41874) | No space is needed; it only comes into play on lines that interpret macros (i.e., start with '.'). |
libc/sys/recv.2 | ||
---|---|---|
299 ↗ | (On Diff #41874) | Ah, ok, I wasn't sure if there were other things like the comma after e.g. =) |
Comment Actions
The reason the lint tool flagged up the Tn macro, mdoc(7) states:
"Tn
Supported only for compatibility, do not use this in new manuals. Even
though the macro name (``tradename'') suggests a semantic function,
historic usage is inconsistent, mostly using it as a presentation-level
macro to request a small caps font."
libc/sys/recv.2 | ||
---|---|---|
299 ↗ | (On Diff #41874) | igor is a really nice tool to find style issues. |
libc/sys/recv.2 | ||
---|---|---|
299 ↗ | (On Diff #41874) | Mm, nice. I forgot about igor. Thanks! |