Re: git: ce95864fbad8 - main - rc.conf(5): Style issues
- In reply to: Warner Losh : "git: ce95864fbad8 - main - rc.conf(5): Style issues"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Feb 2023 18:22:48 UTC
Warner Losh wrote: > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=ce95864fbad87b53f17c625d3b72318764446f00 > > commit ce95864fbad87b53f17c625d3b72318764446f00 > Author: Warner Losh <imp@FreeBSD.org> > AuthorDate: 2023-02-28 16:28:30 +0000 > Commit: Warner Losh <imp@FreeBSD.org> > CommitDate: 2023-02-28 16:36:28 +0000 > > rc.conf(5): Style issues > > Fix mandoc -Tlint style issues > * Use Pa instead of Va for .conf element (mdoc warned the Va was unused, and its the > wrong markup anyway) > * Drop useless Va and use Va instead of Ar when referring to variables in the jail file > * One sentence, one line > * drop xr to info(1). That makes no sense, and intro(1) seems unhelpful. > > This leaves two warnings: gdb(1) xref not found (but we add a > parenthetical about the package) and a false positive about > a trailing period that is being mistaken for a 'full stop' > when it is really just a character in a filename. You can escape it like below to get rid of the warning: diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 7d1cdfc61966..0f3553922ab3 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -3962,7 +3962,7 @@ The configuration filename used by utility. The default value is .Pa /etc/jail.conf . -.Pa /etc/jail. Ns Ao Va jname Ac Ns Pa .conf +.Pa /etc/jail\&. Ns Ao Va jname Ac Ns Pa .conf and .Pa /etc/jail.conf.d/ Ns Ao Va jname Ac Ns Pa .conf will also be used if