Hi Klemens,
Jason McIntyre wrote on Sun, May 19, 2019 at 08:58:35PM +0100:
> On Sun, May 19, 2019 at 09:52:39PM +0200, Klemens Nanni wrote:
>> On Sun, May 19, 2019 at 07:31:19PM +0100, Jason McIntyre wrote:
>>> no. just use $Mdocdate$ and it gets expanded on commit. just like
>>> when you add
On Sun, May 19, 2019 at 09:52:39PM +0200, Klemens Nanni wrote:
> On Sun, May 19, 2019 at 07:31:19PM +0100, Jason McIntyre wrote:
> > no. just use $Mdocdate$ and it gets expanded on commit. just like when
> > you add $OpenBSD$: you don;t fill that in, right?
> OK, will do so. No, I'll just wite
On Sun, May 19, 2019 at 07:31:19PM +0100, Jason McIntyre wrote:
> no. just use $Mdocdate$ and it gets expanded on commit. just like when
> you add $OpenBSD$: you don;t fill that in, right?
OK, will do so. No, I'll just wite `$OpenBSD$'.
> use $Mdocdate$ and let expansion happen, or just use the
On Sun, May 19, 2019 at 08:19:09PM +0200, Klemens Nanni wrote:
> jmc noted that I didn't include my actual line, so here it is.
>
ah!
> First I was using only
>
> .Dd $Mdocdate$
>
> but that warned me
>
> mandoc: ./files/varnishreload.1:2:2: WARNING: missing date, using
>
jmc noted that I didn't include my actual line, so here it is.
First I was using only
.Dd $Mdocdate$
but that warned me
mandoc: ./files/varnishreload.1:2:2: WARNING: missing date, using
today's date
so I did what I was told, according to mdoc(7)
.Dd $Mdocdate: May
The example seems to have an extranous comma, which mandoc(1)'s `-T lint'
warns about:
$ man mdoc | col -b | grep 'document date'
Dd document date: $Mdocdate$ | month day, year
$ mandoc -Tlint ./files/varnishreload.1
mandoc: