On Thu, Mar 19, 2020 at 08:17:10PM +0100, Klemens Nanni wrote:
> On Thu, Mar 19, 2020 at 07:07:10PM +0000, Jason McIntyre wrote:
> > hi. i think you need to end these descriptions with a full stop. you did
> > it with the last list item already!
> Right, haven't done it for consistency with the other lists in there,
> but then again function descriptions are proper sentences.
> 
> Ending the last item was a mistake ;)
> 

well, that's a fair point - i failed to spot that there are two lists
previous ("variable names"), also minus full stops. so although i don;t
really like the missing stop, it would at least be consistent to just
remove the one you added. or we can add stops everywhere. your call!

jmc

> Thanks.
> 
> 
> Index: bt.5
> ===================================================================
> RCS file: /cvs/src/usr.sbin/btrace/bt.5,v
> retrieving revision 1.3
> diff -u -p -r1.3 bt.5
> --- bt.5      18 Mar 2020 20:19:42 -0000      1.3
> +++ bt.5      19 Mar 2020 19:15:56 -0000
> @@ -107,19 +107,30 @@ of the corresponding probe
>  .Pp
>  Functions:
>  .Pp
> -.Bl -tag -width "printf fmt ...  " -compact
> +.Bl -tag -width "delete(@map[key])" -compact
>  .It Fn clear "@map"
> -Delete all (key, value) pairs from map
> -.Va @map
> +Delete all (key, value) pairs from
> +.Va @map .
> +.It Fn delete "@map[key]"
> +Delete the pair indexed by
> +.Va key
> +from
> +.Va @map .
> +.It Fn exit
> +Terminate execution with exit code 0.
>  .It Fn print "@map"
> -Print all (key, value) pairs from map
> -.Va @map
> +Print all pairs from
> +.Va @map .
>  .It Fn printf "fmt" ...
>  print formatted string
>  .Va fmt
>  .It Fn time timefmt
>  print timestamps using
> -.Xr strftime 3
> +.Xr strftime 3 .
> +.It Fn zero "@map"
> +Set all values from
> +.Va @map
> +to 0.
>  .El
>  .Sh SEE ALSO
>  .Xr awk 1 ,
> 

Reply via email to