stats.3: Fix "skipping end of block" syntax errors

These were reported by `mandoc -T lint ...` as errors.

The rendered output (in ascii and html) is not affected by this commit.

There was a small misunderstanding about the mdoc format: a 1-line
enclosure does not need a closing tag.  For example, Pc is for closing
an Po; if a line uses Pq (enclose the remainder of this line), there's
no need for Pc.

Signed-off-by:	Graham Percival <gperciva@tarsnap.com>
Reviewed by:	mhorne
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1434
This commit is contained in:
Graham Percival 2024-09-24 11:11:03 -07:00 committed by Mitchell Horne
parent a57e881d32
commit 2d69f02c57

View File

@ -102,17 +102,17 @@
.Fc .Fc
.Ft struct voistatspec .Ft struct voistatspec
.Fo "STATS_VSS_CRHIST<32|64>_USR" .Fo "STATS_VSS_CRHIST<32|64>_USR"
.Fa Sy "HBKTS" Ns Pq Sy "CRBKT" Ns ( Em "lb" ) , "..." Pc , .Fa Sy "HBKTS" Ns Pq Sy "CRBKT" Ns ( Em "lb" ) , "..." ,
.Fa "vsdflags" .Fa "vsdflags"
.Fc .Fc
.Ft struct voistatspec .Ft struct voistatspec
.Fo "STATS_VSS_DRHIST<32|64>_USR" .Fo "STATS_VSS_DRHIST<32|64>_USR"
.Fa Sy "HBKTS" Ns Pq Sy "DRBKT" Ns ( Em "lb" , "ub" ) , "..." Pc , .Fa Sy "HBKTS" Ns Pq Sy "DRBKT" Ns ( Em "lb" , "ub" ) , "..." ,
.Fa "vsdflags" .Fa "vsdflags"
.Fc .Fc
.Ft struct voistatspec .Ft struct voistatspec
.Fo "STATS_VSS_DVHIST<32|64>_USR" .Fo "STATS_VSS_DVHIST<32|64>_USR"
.Fa Sy "HBKTS" Ns Pq Sy "DVBKT" Ns ( Em "val" ) , "..." Pc , .Fa Sy "HBKTS" Ns Pq Sy "DVBKT" Ns ( Em "val" ) , "..." ,
.Fa "vsdflags" .Fa "vsdflags"
.Fc .Fc
.Ft struct voistatspec .Ft struct voistatspec
@ -316,16 +316,16 @@ The maximum VOI value.
The minimum VOI value. The minimum VOI value.
.It Dv VS_STYPE_HIST .It Dv VS_STYPE_HIST
A static bucket histogram of VOI values, including a count of A static bucket histogram of VOI values, including a count of
.Dq out-of-band/bucket Dc .Dq out-of-band/bucket
values which did not match any bucket. values which did not match any bucket.
Histograms can be specified as Histograms can be specified as
.Dq Em C Ns ontinuous Em R Ns ange Dc .Dq Em C Ns ontinuous Em R Ns ange
.Pq CRHIST Pc , .Pq CRHIST ,
.Dq Em D Ns iscrete Em R Ns ange Dc .Dq Em D Ns iscrete Em R Ns ange
.Pq DRHIST Pc .Pq DRHIST
or or
.Dq Em D Ns iscrete Em V Ns alue Dc .Dq Em D Ns iscrete Em V Ns alue
.Pq DVHIST Pc , .Pq DVHIST ,
with 32 or 64 bit bucket counters, depending on the VOI semantics. with 32 or 64 bit bucket counters, depending on the VOI semantics.
.It Dv VS_STYPE_TDGST .It Dv VS_STYPE_TDGST
A dynamic bucket histogram of VOI values based on the t-digest method A dynamic bucket histogram of VOI values based on the t-digest method
@ -433,15 +433,15 @@ Where templates need to be referenced via textual means, for example via a MIB
variable, the following string based template spec formats can be used: variable, the following string based template spec formats can be used:
.Bl -enum .Bl -enum
.It .It
.Qq <tplname> Qc Ns .Qq <tplname> Ns
:<tplhash> :<tplhash>
.Ns , for example .Ns , for example
.Qq TCP_DEFAULT Qc Ns .Qq TCP_DEFAULT Ns
:1731235399 :1731235399
.It .It
.Qq <tplname> Qc .Qq <tplname>
.Ns , for example .Ns , for example
.Qq TCP_DEFAULT Qc .Qq TCP_DEFAULT
.It .It
:<tplhash> :<tplhash>
.Ns , for example .Ns , for example