Date: Tue, 28 Feb 2023 19:22:48 +0100 From: Yuri <yuri@aetern.org> To: Warner Losh <imp@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: ce95864fbad8 - main - rc.conf(5): Style issues Message-ID: <16dd73a9-c85f-2eb9-283d-4a728534d276@aetern.org> In-Reply-To: <202302281639.31SGdu7E036707@gitrepo.freebsd.org> References: <202302281639.31SGdu7E036707@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16dd73a9-c85f-2eb9-283d-4a728534d276>